buildrootschalter/package/gpsd/gpsd-02-sconstruct-disable-rpath.patch
Thomas Petazzoni c8a222f2ad 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>
2012-07-30 19:11:27 +02:00

18 lines
534 B
Diff

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: