From 73c6abae04aceb9f2556996d1783fde6d35e713c Mon Sep 17 00:00:00 2001 From: Thomas Petazzoni Date: Wed, 25 Jul 2012 00:04:21 +0200 Subject: [PATCH] gpsd: add patch to disable rpath Signed-off-by: Thomas Petazzoni --- .../gpsd/gpsd-03-sconstruct-disable-rpath.patch | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 package/gpsd/gpsd-03-sconstruct-disable-rpath.patch 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 0000000000..5476450e49 --- /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 + +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: -- 2.30.2