summaryrefslogtreecommitdiff
path: root/SConstruct
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2012-05-14 04:52:15 -0400
committerEric S. Raymond <esr@thyrsus.com>2012-05-14 04:52:15 -0400
commite683effa027cfc70ba49359db1f6ae10af2cb1c6 (patch)
tree749748118aa6fb0d3c018d23226a5d9198896824 /SConstruct
parentd4b191ff872e306ec65e6559f45609b184068495 (diff)
downloadgpsd-e683effa027cfc70ba49359db1f6ae10af2cb1c6.tar.gz
Explain better why we use chrpath.
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct8
1 files changed, 4 insertions, 4 deletions
diff --git a/SConstruct b/SConstruct
index ef353a03..120d8ef0 100644
--- a/SConstruct
+++ b/SConstruct
@@ -392,10 +392,10 @@ config = Configure(env, custom_tests = { 'CheckPKG' : CheckPKG,
env.Prepend(LIBPATH=[os.path.realpath(os.curdir)])
if config.CheckExecutable('$CHRPATH -v', 'chrpath'):
# Tell generated binaries to look in the current directory for
- # shared libraries so we can run tests without hassle. Should be
- # handled sanely by scons on all systems. Not good to use '.' or
- # a relative path here; it's a security risk. At install time we
- # use chrpath to edit this out of RPATH.
+ # shared libraries so we can run regression tests without
+ # hassle. Should be handled sanely by scons on all systems. Not
+ # good to use '.' or a relative path here; it's a security risk.
+ # At install time we use chrpath to edit this out of RPATH.
if env["shared"]:
env.Prepend(RPATH=[os.path.realpath(os.curdir)])
else: