diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2013-11-24 10:15:02 -0500 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2013-11-24 10:15:02 -0500 |
commit | 287a9f217ddc4f0340bd1a0490a27005d4602c1d (patch) | |
tree | 1289c5e2da9f5fae9db82d8f2f2320ceb0e84616 /SConstruct | |
parent | 52074fb01644cc4f0091f9781db6197d8f5ffbe4 (diff) | |
download | gpsd-287a9f217ddc4f0340bd1a0490a27005d4602c1d.tar.gz |
Fail noisily when chrpath=yes but chrpath is not available.
Diffstat (limited to 'SConstruct')
-rw-r--r-- | SConstruct | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -481,8 +481,8 @@ else: env.Prepend(LIBPATH=[os.path.realpath(os.curdir)]) - if env["shared"]: - if env["chrpath"] and config.CheckExecutable('chrpath -v', 'chrpath'): + if env["shared"] and env["chrpath"]: + if config.CheckExecutable('chrpath -v', 'chrpath'): # Tell generated binaries to look in the current directory for # shared libraries so we can run regression tests without # hassle. Should be handled sanely by scons on all systems. Not @@ -490,7 +490,7 @@ else: # At install time we use chrpath to edit this out of RPATH. env.Prepend(RPATH=[os.path.realpath(os.curdir)]) else: - print "chrpath is not available or use of it has been disabled." + print "chrpath is not available; please build with chrpath=no." confdefs = ["/* gpsd_config.h. Generated by scons, do not hand-hack. */\n"] |