scons: Don't get fooled by 32bit python on a 64bit windows.
This commit is contained in:
@@ -195,7 +195,7 @@ def generate(env):
|
|||||||
# Determine whether we are cross compiling; in particular, whether we need
|
# Determine whether we are cross compiling; in particular, whether we need
|
||||||
# to compile code generators with a different compiler as the target code.
|
# to compile code generators with a different compiler as the target code.
|
||||||
host_platform = _platform.system().lower()
|
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 = {
|
host_machine = {
|
||||||
'x86': 'x86',
|
'x86': 'x86',
|
||||||
'i386': 'x86',
|
'i386': 'x86',
|
||||||
|
Reference in New Issue
Block a user