blob: 7615b8b5d73fd861f9f0b173504ad1c5017b7406 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
don't set the -rpath flag to the install dir as this breaks DESTDIR
--- a/SConstruct
+++ b/SConstruct
@@ -287,7 +287,7 @@
# Don't hack RPATH unless libdir points somewhere that is not on the
# minimum default load path.
-if env["shared"]:
+if env["shared"] and env["chrpath"]:
if env["libdir"] not in ["/usr/lib", "/lib"]:
env.Prepend(RPATH=[installdir('libdir')])
|