buildrootschalter/package/gpsd/gpsd-02-sconstruct-disable-rpath.patch
Simon Dawson b4e40d9492 gpsd: switch to Git snapshot
Since the gpsd version bump from 3.9 to 3.10, gpsd has been generating a lot
of autobuild failures. See, for example, the following.

  http://autobuild.buildroot.net/results/c8f/c8f2eed70cfbdcb7e7af820977aa531b59f0575a/

A 3.11 release is expected shortly; in the interim, switch to a recent Git
snapshot in which the most serious build problems appear to have been fixed.

Signed-off-by: Simon Dawson <spdawson@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2013-12-06 00:12:07 +01:00

17 lines
698 B
Diff

Disable addition of RPATH to the generated libraries
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
@@ -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
if 'MORECFLAGS' in os.environ: