blob: 5476450e490af0b148d65d08a679a02df4fa5c14 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
Disable addition of RPATH to the generated libraries
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Index: b/SConstruct
===================================================================
--- a/SConstruct
+++ b/SConstruct
@@ -273,8 +273,6 @@
env.Prepend(LIBPATH=[installdir('libdir')])
else:
env.Prepend(LIBPATH=[env["sysroot"] + installdir('libdir')])
-if env["shared"]:
- env.Prepend(RPATH=[installdir('libdir')])
# Give deheader a way to set compiler flags
if 'MORECFLAGS' in os.environ:
|