summaryrefslogtreecommitdiffstats
path: root/package/gpsd/0002-sconstruct-disable-rpath.patch
diff options
context:
space:
mode:
authorPeter Korsgaard <peter@korsgaard.com>2015-02-03 14:52:07 +0100
committerPeter Korsgaard <peter@korsgaard.com>2015-02-03 14:52:56 +0100
commit298cd8eaa21a21eee85f9551a26ad294347b1d5a (patch)
tree249fa33b66f65e6daffdbfc8ca2e5399e8d89e61 /package/gpsd/0002-sconstruct-disable-rpath.patch
parentdd798a45c571063595c45278e28ed4f614f2cf32 (diff)
downloadbuildroot-298cd8eaa21a21eee85f9551a26ad294347b1d5a.tar.gz
buildroot-298cd8eaa21a21eee85f9551a26ad294347b1d5a.zip
package/*: rename patches according to the new policy
Autogenerated from rename-patch.py (http://patchwork.ozlabs.org/patch/403345) Signed-off-by: Samuel Martin <s.martin49@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/gpsd/0002-sconstruct-disable-rpath.patch')
-rw-r--r--package/gpsd/0002-sconstruct-disable-rpath.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/package/gpsd/0002-sconstruct-disable-rpath.patch b/package/gpsd/0002-sconstruct-disable-rpath.patch
new file mode 100644
index 0000000000..8251cfcbec
--- /dev/null
+++ b/package/gpsd/0002-sconstruct-disable-rpath.patch
@@ -0,0 +1,18 @@
+Disable addition of RPATH to the generated libraries
+
+Signed-off-by: Simon Dawson <spdawson@gmail.com>
+Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
+
+diff -Nurp a/SConstruct b/SConstruct
+--- a/SConstruct 2014-08-23 18:41:09.000000000 +0100
++++ b/SConstruct 2014-08-25 09:46:53.754364989 +0100
+@@ -300,9 +300,6 @@ if env["sysroot"]:
+
+ # Don't hack RPATH unless libdir points somewhere that is not on the
+ # minimum default load path.
+-if env["shared"]:
+- if env["libdir"] not in ["/usr/lib", "/lib"]:
+- env.Prepend(RPATH=[installdir('libdir')])
+
+ # Give deheader a way to set compiler flags
+ if 'MORECFLAGS' in os.environ:
OpenPOWER on IntegriCloud