Fix conditional enabling the 2009-09-24T16:46:12Z!kailoran@gmail.com workaround.
s/env["PLATFORM"]/sys.platform. env["PLATFORM"] is used by cross-compile.
This commit is contained in:
parent
d24931ac3a
commit
24ec2de877
1 changed files with 1 additions and 1 deletions
|
@ -202,7 +202,7 @@ if not os.path.isabs(env["prefix"]):
|
|||
# work around long command line problem on windows
|
||||
# see http://www.scons.org/wiki/LongCmdLinesOnWin32
|
||||
#
|
||||
if env['PLATFORM'] == 'win32':
|
||||
if sys.platform == 'win32':
|
||||
try:
|
||||
import win32file
|
||||
import win32event
|
||||
|
|
Loading…
Add table
Reference in a new issue