summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDirk Baechle <dl9obn@darc.de>2014-09-06 10:27:56 (GMT)
committerDirk Baechle <dl9obn@darc.de>2014-09-06 10:27:56 (GMT)
commit87cb9ca579c9e8cc2d972552f8db6590b991cdeb (patch)
tree2cc8c53e7643def57533d9f29be388781da9fd9e
parente6451df2f5ac7b86b9a93c787a9ef70e9ffd06f0 (diff)
downloadSCons-87cb9ca579c9e8cc2d972552f8db6590b991cdeb.zip
SCons-87cb9ca579c9e8cc2d972552f8db6590b991cdeb.tar.gz
SCons-87cb9ca579c9e8cc2d972552f8db6590b991cdeb.tar.bz2
- additional fixes to get all tests pass on the Fedora20 box
-rw-r--r--src/engine/SCons/Tool/ldc.py2
-rw-r--r--test/sconsign/script/Configure.py3
2 files changed, 2 insertions, 3 deletions
diff --git a/src/engine/SCons/Tool/ldc.py b/src/engine/SCons/Tool/ldc.py
index 6b215e2..fa50060 100644
--- a/src/engine/SCons/Tool/ldc.py
+++ b/src/engine/SCons/Tool/ldc.py
@@ -126,7 +126,7 @@ def generate(env):
# platform supports it.
env['DRPATHPREFIX'] = '-L-rpath='
env['DRPATHSUFFIX'] = ''
- env['_RPATH'] = '${_concat(DRPATHPREFIX, RPATH, DRPATHSUFFIX, __env__)}'
+ env['_DRPATH'] = '${_concat(DRPATHPREFIX, RPATH, DRPATHSUFFIX, __env__)}'
SCons.Tool.createStaticLibBuilder(env)
diff --git a/test/sconsign/script/Configure.py b/test/sconsign/script/Configure.py
index 3b43def..679f084 100644
--- a/test/sconsign/script/Configure.py
+++ b/test/sconsign/script/Configure.py
@@ -58,9 +58,8 @@ CC_file = re.escape(CC_file)
_sconf_temp_conftest_0_c = '.sconf_temp/conftest_0.c'
test.write('SConstruct', """
-env = Environment()
import os
-env.AppendENVPath('PATH', os.environ['PATH'])
+env = Environment(ENV={'PATH' : os.environ.get('PATH','')})
conf = Configure(env)
r1 = conf.CheckCHeader( 'math.h' )
env = conf.Finish()