diff options
-rw-r--r-- | SConstruct | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -297,12 +297,12 @@ if env["sysroot"]: # Don't hack RPATH unless libdir points somewhere that is not on the # system default load path. /lib and /usr/lib should always be on -# this; listing them explicitly is a fail-safe against this ldfconfig +# this; listing them explicitly is a fail-safe against this ldconfig # invocation not doing what we expect. 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 RATH." % installdir('libdir')) + announce("Prepending %s to RPATH." % installdir('libdir')) env.Prepend(RPATH=[installdir('libdir')]) # Give deheader a way to set compiler flags |