summaryrefslogtreecommitdiff
path: root/astro/gpsd/files/patch-SConstruct
blob: fb318ca2283653e1503e5f3e7e5abe8830abb4ea (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
--- SConstruct.orig	2015-03-14 11:24:41 UTC
+++ SConstruct
@@ -305,16 +305,6 @@ def installdir(dir, add_destdir=True):
     wrapped.replace("/usr/lib/systemd", "/lib/systemd")
     return wrapped
 
-# Honor the specified installation prefix in link paths.
-if env["sysroot"]:
-    env.Prepend(LIBPATH=[env["sysroot"] + installdir('libdir', add_destdir=False)])
-
-# 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:
     env.Append(CFLAGS=Split(os.environ['MORECFLAGS']))