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.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/gpsd/gpsd-02-sconstruct-disable-rpath.patch b/package/gpsd/gpsd-02-sconstruct-disable-rpath.patch
index 155542d556..5cbdf13a58 100644
--- a/package/gpsd/gpsd-02-sconstruct-disable-rpath.patch
+++ b/package/gpsd/gpsd-02-sconstruct-disable-rpath.patch
@@ -13,7 +13,7 @@ diff -Nurp a/SConstruct b/SConstruct
-if env["shared"]:
- sysrpath = Split(_getoutput("ldconfig -v -N -X 2>/dev/null | sed -n -e '/^\//s/://p'"))
- if env["libdir"] not in ["/usr/lib", "/lib"] + sysrpath:
-- announce("Prepending %s to RPATH." % installdir('libdir'))
+- announce("Prepending %s to RPATH." % installdir('libdir', False))
- env.Prepend(RPATH=[installdir('libdir')])
# Give deheader a way to set compiler flags
OpenPOWER on IntegriCloud