X-Git-Url: https://review.fuel-infra.org/gitweb?a=blobdiff_plain;f=cirros-testvm%2Fsrc-cirros%2Fbuildroot-2015.05%2Fpackage%2Fgpsd%2F0002-sconstruct-disable-rpath.patch;fp=cirros-testvm%2Fsrc-cirros%2Fbuildroot-2015.05%2Fpackage%2Fgpsd%2F0002-sconstruct-disable-rpath.patch;h=8251cfcbecb7123865627214cf06b28820f805e8;hb=b0a0f15dfaa205161a7fcb20cf1b8cd4948c2ef3;hp=0000000000000000000000000000000000000000;hpb=c6ac3cd55ee2da956195eee393b0882105dfad4e;p=packages%2Ftrusty%2Fcirros-testvm.git diff --git a/cirros-testvm/src-cirros/buildroot-2015.05/package/gpsd/0002-sconstruct-disable-rpath.patch b/cirros-testvm/src-cirros/buildroot-2015.05/package/gpsd/0002-sconstruct-disable-rpath.patch new file mode 100644 index 0000000..8251cfc --- /dev/null +++ b/cirros-testvm/src-cirros/buildroot-2015.05/package/gpsd/0002-sconstruct-disable-rpath.patch @@ -0,0 +1,18 @@ +Disable addition of RPATH to the generated libraries + +Signed-off-by: Simon Dawson +Signed-off-by: Thomas Petazzoni + +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: