Browse Source

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

tags/android-x86-2.2-r2
José Fonseca 15 years ago
parent
commit
590c2ee568
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      scons/gallium.py

+ 1
- 1
scons/gallium.py 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',

Loading…
Cancel
Save