summaryrefslogtreecommitdiffstats
path: root/test/scan-once.py
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2003-05-27 12:14:50 (GMT)
committerSteven Knight <knight@baldmt.com>2003-05-27 12:14:50 (GMT)
commiteb18e3716f7c5de0d9bc1399d4e4f4e4c587388a (patch)
tree5f9535a11da29058da2460e1aebd97efff9c6bda /test/scan-once.py
parentdd46e3d77cb07573d2ff1cb0caed60e5f474cc3c (diff)
downloadSCons-eb18e3716f7c5de0d9bc1399d4e4f4e4c587388a.zip
SCons-eb18e3716f7c5de0d9bc1399d4e4f4e4c587388a.tar.gz
SCons-eb18e3716f7c5de0d9bc1399d4e4f4e4c587388a.tar.bz2
Use -lfrtbegin when linking fortran in gcc3; Cygwin fixes. (Chad Austin)
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"])) + " " + \