summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2012-07-24 22:04:21 (GMT)
committer Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2012-07-25 16:25:42 (GMT)
commit73c6abae04aceb9f2556996d1783fde6d35e713c (patch)
tree821e07d2b117911e1bbbd302352682dd32b65fd1
parent4c0f75e444846f6436a3c49b40dab9d56032acfb (diff)
downloadbuildroot-73c6abae04aceb9f2556996d1783fde6d35e713c.tar.gz
buildroot-73c6abae04aceb9f2556996d1783fde6d35e713c.tar.bz2
gpsd: add patch to disable rpath
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-rw-r--r--package/gpsd/gpsd-03-sconstruct-disable-rpath.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/package/gpsd/gpsd-03-sconstruct-disable-rpath.patch b/package/gpsd/gpsd-03-sconstruct-disable-rpath.patch
new file mode 100644
index 0000000..5476450
--- /dev/null
+++ b/package/gpsd/gpsd-03-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: