summaryrefslogtreecommitdiffstats
path: root/test/scan-once.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/scan-once.py')
-rw-r--r--test/scan-once.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/scan-once.py b/test/scan-once.py
index f629db6..ea4dbee 100644
--- a/test/scan-once.py
+++ b/test/scan-once.py
@@ -303,6 +303,9 @@ 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]):
+ # the next line fails in Cygwin because it tries to do env.subst on
+ # $RMIC $RMICFLAGS -d ${TARGET.attributes.java_lookupdir} ...
+ # when $TARGET is None, so $TARGET.attributes throws an exception
todict[k] = env.subst(str(fromdict[k]))
todict["CFLAGS"] = fromdict["CPPFLAGS"] + " " + \
string.join(map(lambda x: "-I" + x, env["CPPPATH"])) + " " + \