Skip to content

Commit

Permalink
configure: better detect windows 'bitness' (WOW64)
Browse files Browse the repository at this point in the history
Signed-off-by: Fedor Indutny <[email protected]>
  • Loading branch information
Refael Ackermann authored and indutny committed Jul 1, 2014
1 parent 1c0ec71 commit 423725b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion configure
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit 423725b

Please sign in to comment.