diff options
author | Mark Hammond <mhammond@skippinet.com.au> | 2008-04-07 01:53:39 +0000 |
---|---|---|
committer | Mark Hammond <mhammond@skippinet.com.au> | 2008-04-07 01:53:39 +0000 |
commit | 495cf99aaf40fb1c0859e528d5b2c52018fba09f (patch) | |
tree | 7eccc4215be221e4f5aae27a487e69d8057c2465 /Lib/distutils/util.py | |
parent | aa63d0d4af3db832b390ac74517af5eb799540e5 (diff) | |
download | cpython-git-495cf99aaf40fb1c0859e528d5b2c52018fba09f.tar.gz |
Issue #2513: enable 64bit cross compilation on windows.
Diffstat (limited to 'Lib/distutils/util.py')
-rw-r--r-- | Lib/distutils/util.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/distutils/util.py b/Lib/distutils/util.py index deb9a0a0f1..69d90cffb8 100644 --- a/Lib/distutils/util.py +++ b/Lib/distutils/util.py @@ -30,7 +30,7 @@ def get_platform (): irix64-6.2 Windows will return one of: - win-x86_64 (64bit Windows on x86_64 (AMD64)) + win-amd64 (64bit Windows on AMD64 (aka x86_64, Intel64, EM64T, etc) win-ia64 (64bit Windows on Itanium) win32 (all others - specifically, sys.platform is returned) @@ -45,7 +45,7 @@ def get_platform (): j = string.find(sys.version, ")", i) look = sys.version[i+len(prefix):j].lower() if look=='amd64': - return 'win-x86_64' + return 'win-amd64' if look=='itanium': return 'win-ia64' return sys.platform |