Fix linker error when using MSVC

Regression was introduced in r2755.
This commit is contained in:
Ray Speth 2014-03-03 03:50:04 +00:00
parent 93fcf181b1
commit 10200524c2

View file

@ -555,7 +555,7 @@ def getSpawn(env):
Adapted from http://www.scons.org/wiki/LongCmdLinesOnWin32
"""
if 'cmd.exe' not in env['SHELL'] or env['CXX'] == 'cl':
if 'cmd.exe' not in env['SHELL'] or env.subst('$CXX') == 'cl':
return env['SPAWN']
try: