mirror of
https://git.busybox.net/buildroot.git
synced 2024-12-11 14:23:52 +08:00
298cd8eaa2
Autogenerated from rename-patch.py (http://patchwork.ozlabs.org/patch/403345) Signed-off-by: Samuel Martin <s.martin49@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
19 lines
658 B
Diff
19 lines
658 B
Diff
Disable addition of RPATH to the generated libraries
|
|
|
|
Signed-off-by: Simon Dawson <spdawson@gmail.com>
|
|
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
|
|
|
|
diff -Nurp a/SConstruct b/SConstruct
|
|
--- a/SConstruct 2014-08-23 18:41:09.000000000 +0100
|
|
+++ b/SConstruct 2014-08-25 09:46:53.754364989 +0100
|
|
@@ -300,9 +300,6 @@ if env["sysroot"]:
|
|
|
|
# Don't hack RPATH unless libdir points somewhere that is not on the
|
|
# minimum default load path.
|
|
-if env["shared"]:
|
|
- if env["libdir"] not in ["/usr/lib", "/lib"]:
|
|
- env.Prepend(RPATH=[installdir('libdir')])
|
|
|
|
# Give deheader a way to set compiler flags
|
|
if 'MORECFLAGS' in os.environ:
|