summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--SConstruct4
1 files changed, 2 insertions, 2 deletions
diff --git a/SConstruct b/SConstruct
index 845c95e8..48cb49c5 100644
--- a/SConstruct
+++ b/SConstruct
@@ -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