gpsd-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gpsd-dev] [PATCH] Fix double leading // in libdir


From: Sanjeev Gupta
Subject: [gpsd-dev] [PATCH] Fix double leading // in libdir
Date: Sun, 8 Dec 2013 22:41:01 +0800

Spotted by Hal Murray.  The issue must have occurred earlier,
as the installdir function has a switch for that
---
 SConstruct | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/SConstruct b/SConstruct
index 48cb49c..389a80a 100644
--- a/SConstruct
+++ b/SConstruct
@@ -302,7 +302,7 @@ if env["sysroot"]:
 if env["shared"]:
     sysrpath = Split(_getoutput("ldconfig -v -N -X 2>/dev/null | sed -n -e 
'/^\//s/://p'"))
     if env["libdir"] not in ["/usr/lib", "/lib"] + sysrpath:
-        announce("Prepending %s to RPATH." % installdir('libdir'))
+        announce("Prepending %s to RPATH." % installdir('libdir', False))
         env.Prepend(RPATH=[installdir('libdir')])
 
 # Give deheader a way to set compiler flags
-- 
1.8.5.1




reply via email to

[Prev in Thread] Current Thread [Next in Thread]