mirror of
https://github.com/nodejs/node.git
synced 2024-11-21 10:59:27 +00:00
configure: better detect windows 'bitness' (WOW64)
Signed-off-by: Fedor Indutny <fedor@indutny.com>
This commit is contained in:
parent
1c0ec71725
commit
423725b34d
3
configure
vendored
3
configure
vendored
@ -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',
|
||||
|
Loading…
Reference in New Issue
Block a user