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:
Sergey Popov 2009-09-25 13:23:37 +00:00
parent d24931ac3a
commit 24ec2de877

View file

@ -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