summaryrefslogtreecommitdiffstats
path: root/package/gpsd/gpsd-02-sconstruct-disable-rpath.patch
diff options
context:
space:
mode:
Diffstat (limited to 'package/gpsd/gpsd-02-sconstruct-disable-rpath.patch')
-rw-r--r--package/gpsd/gpsd-02-sconstruct-disable-rpath.patch10
1 files changed, 5 insertions, 5 deletions
diff --git a/package/gpsd/gpsd-02-sconstruct-disable-rpath.patch b/package/gpsd/gpsd-02-sconstruct-disable-rpath.patch
index eca3cbfb08..8d2d31e0c1 100644
--- a/package/gpsd/gpsd-02-sconstruct-disable-rpath.patch
+++ b/package/gpsd/gpsd-02-sconstruct-disable-rpath.patch
@@ -5,11 +5,11 @@ Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
diff -Nurp a/SConstruct b/SConstruct
--- a/SConstruct 2013-11-22 13:10:01.000000000 +0000
+++ b/SConstruct 2013-11-23 11:26:57.698486777 +0000
-@@ -287,8 +287,6 @@ def installdir(dir, add_destdir=True):
- # Honor the specified installation prefix in link paths.
- if env["sysroot"]:
- env.Prepend(LIBPATH=[env["sysroot"] + installdir('libdir', add_destdir=False)])
--if env["shared"]:
+@@ -299,8 +299,6 @@ if env["sysroot"]:
+ # prefix=/usr/local build want to put our libraries there. Ideally
+ # we'd query the default load path here and test against wharever it
+ # is, but we haven't found a way to do that.
+-if env["shared"] and env["libdir"] not in {"/lib","/usr/lib","/usr/local/lib"}:
- env.Prepend(RPATH=[installdir('libdir')])
# Give deheader a way to set compiler flags
OpenPOWER on IntegriCloud