1 Disable addition of RPATH to the generated libraries
3 Signed-off-by: Simon Dawson <spdawson@gmail.com>
4 Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 diff -Nurp a/SConstruct b/SConstruct
7 --- a/SConstruct 2014-08-23 18:41:09.000000000 +0100
8 +++ b/SConstruct 2014-08-25 09:46:53.754364989 +0100
9 @@ -300,9 +300,6 @@ if env["sysroot"]:
11 # Don't hack RPATH unless libdir points somewhere that is not on the
12 # minimum default load path.
14 - if env["libdir"] not in ["/usr/lib", "/lib"]:
15 - env.Prepend(RPATH=[installdir('libdir')])
17 # Give deheader a way to set compiler flags
18 if 'MORECFLAGS' in os.environ: