summaryrefslogtreecommitdiff
path: root/package/gpsd/gpsd-02-sconstruct-disable-rpath.patch
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2012-07-26 09:25:37 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2012-07-30 19:11:27 +0200
commitc8a222f2adf7f7933124ebd17064acf54e6e3ff3 (patch)
treed5d6974586a9e06aa44d6b933b69984e54af6272 /package/gpsd/gpsd-02-sconstruct-disable-rpath.patch
parentea479450da0017827760f895758d2ccd1fc8d684 (diff)
gpsd: remove patch to handle ncurses5-config custom location
Now that ncurses has been bumped to 5.9, it installs .pc files for pkg-config, which allows gpsd to find it properly without the need to specify a custom location for ncurses5-config. Since gpsd now uses pkg-config to find the ncurses library, we also add host-pkg-config in the dependencies. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/gpsd/gpsd-02-sconstruct-disable-rpath.patch')
-rw-r--r--package/gpsd/gpsd-02-sconstruct-disable-rpath.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/package/gpsd/gpsd-02-sconstruct-disable-rpath.patch b/package/gpsd/gpsd-02-sconstruct-disable-rpath.patch
new file mode 100644
index 000000000..5476450e4
--- /dev/null
+++ b/package/gpsd/gpsd-02-sconstruct-disable-rpath.patch
@@ -0,0 +1,17 @@
+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')])
+-if env["shared"]:
+- env.Prepend(RPATH=[installdir('libdir')])
+
+ # Give deheader a way to set compiler flags
+ if 'MORECFLAGS' in os.environ: