diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/scan-once.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/scan-once.py b/test/scan-once.py index b910438..ffd379b 100644 --- a/test/scan-once.py +++ b/test/scan-once.py @@ -303,7 +303,7 @@ import re for k in fromdict.keys(): if k != "ENV" and k != "SCANNERS" and k != "CFLAGS" and k != "CXXFLAGS" \ and not SCons.Util.is_Dict(fromdict[k]): - todict[k] = SCons.Util.scons_subst(str(fromdict[k]), fromdict, {}) + todict[k] = env.subst(str(fromdict[k])) todict["CFLAGS"] = fromdict["CPPFLAGS"] + " " + \ string.join(map(lambda x: "-I" + x, env["CPPPATH"])) + " " + \ string.join(map(lambda x: "-L" + x, env["LIBPATH"])) |