From ca6cd35d57db84d63be40f6ae7b5170944d76782 Mon Sep 17 00:00:00 2001 From: Ben Noordhuis Date: Tue, 2 Feb 2016 00:00:20 +0100 Subject: [PATCH] build: map 'AMD64' host arch to 'x64' MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixes: https://github.com/libuv/libuv/issues/705 PR-URL: https://github.com/libuv/libuv/pull/706 Reviewed-By: Saúl Ibarra Corretgé --- gyp_uv.py | 1 + 1 file changed, 1 insertion(+) diff --git a/gyp_uv.py b/gyp_uv.py index 39933f62..458e89e9 100755 --- a/gyp_uv.py +++ b/gyp_uv.py @@ -27,6 +27,7 @@ except ImportError: def host_arch(): machine = platform.machine() if machine == 'i386': return 'ia32' + if machine == 'AMD64': return 'x64' if machine == 'x86_64': return 'x64' if machine.startswith('arm'): return 'arm' if machine.startswith('mips'): return 'mips'