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.patch15
1 files changed, 7 insertions, 8 deletions
diff --git a/package/gpsd/gpsd-02-sconstruct-disable-rpath.patch b/package/gpsd/gpsd-02-sconstruct-disable-rpath.patch
index 5476450e49..eca3cbfb08 100644
--- a/package/gpsd/gpsd-02-sconstruct-disable-rpath.patch
+++ b/package/gpsd/gpsd-02-sconstruct-disable-rpath.patch
@@ -2,14 +2,13 @@ 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')])
+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"]:
- env.Prepend(RPATH=[installdir('libdir')])
OpenPOWER on IntegriCloud