summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xconfigure3
1 files changed, 2 insertions, 1 deletions
diff --git a/configure b/configure
index daea8cad12..c0a4ace2db 100755
--- a/configure
+++ b/configure
@@ -402,7 +402,8 @@ def host_arch_cc():
def host_arch_win():
"""Host architecture check using environ vars (better way to do this?)"""
- arch = os.environ.get('PROCESSOR_ARCHITECTURE', 'x86')
+ observed_arch = os.environ.get('PROCESSOR_ARCHITECTURE', 'x86')
+ arch = os.environ.get('PROCESSOR_ARCHITEW6432', observed_arch)
matchup = {
'AMD64' : 'x64',