diff options
Diffstat (limited to 'test/AS/ASFLAGS.py')
-rw-r--r-- | test/AS/ASFLAGS.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/test/AS/ASFLAGS.py b/test/AS/ASFLAGS.py index 024cea3..2cc99e3 100644 --- a/test/AS/ASFLAGS.py +++ b/test/AS/ASFLAGS.py @@ -35,10 +35,12 @@ _exe = TestSCons._exe if sys.platform == 'win32': - + import SCons.Tool.MSCommon as msc + o = ' -x' - o_c = ' -x' + if not msc.msvc_exists(): + o_c = ' -x -c' test.write('mylink.py', r""" import sys @@ -95,7 +97,6 @@ sys.exit(0) else: o = ' -x' - o_c = ' -x -c' test.write('mylink.py', r""" |