[SCons] Fix 'command too long' error with MinGW compilation
This commit is contained in:
parent
ea040e1a5e
commit
608184ecea
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 sys.platform != 'win32' or env['toolchain'] != 'mingw':
|
||||
if 'cmd.exe' not in env['SHELL'] or env['CXX'] == 'cl':
|
||||
return env['SPAWN']
|
||||
|
||||
try:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue