Fix linker error when using MSVC
Regression was introduced in r2755.
This commit is contained in:
parent
93fcf181b1
commit
10200524c2
1 changed files with 1 additions and 1 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue