Commit 590c2ee5 authored by Jose Fonseca's avatar Jose Fonseca

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

parent 9f9d6481
......@@ -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',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment