scons: Don't get fooled by 32bit python on a 64bit windows.

This commit is contained in:
José Fonseca
2011-02-15 17:01:20 +00:00
parent 9f9d6481de
commit 590c2ee568

View File

@@ -195,7 +195,7 @@ def generate(env):
# Determine whether we are cross compiling; in particular, whether we need
# to compile code generators with a different compiler as the target code.
host_platform = _platform.system().lower()
host_machine = os.environ.get('PROCESSOR_ARCHITECTURE', _platform.machine())
host_machine = os.environ.get('PROCESSOR_ARCHITEW6432', os.environ.get('PROCESSOR_ARCHITECTURE', _platform.machine()))
host_machine = {
'x86': 'x86',
'i386': 'x86',