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/command/bdist.py | |
parent | aa63d0d4af3db832b390ac74517af5eb799540e5 (diff) | |
download | cpython-git-495cf99aaf40fb1c0859e528d5b2c52018fba09f.tar.gz |
Issue #2513: enable 64bit cross compilation on windows.
Diffstat (limited to 'Lib/distutils/command/bdist.py')
-rw-r--r-- | Lib/distutils/command/bdist.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Lib/distutils/command/bdist.py b/Lib/distutils/command/bdist.py index d6897d2d09..ca3da74c06 100644 --- a/Lib/distutils/command/bdist.py +++ b/Lib/distutils/command/bdist.py @@ -97,7 +97,10 @@ class bdist (Command): def finalize_options (self): # have to finalize 'plat_name' before 'bdist_base' if self.plat_name is None: - self.plat_name = get_platform() + if self.skip_build: + self.plat_name = get_platform() + else: + self.plat_name = self.get_finalized_command('build').plat_name # 'bdist_base' -- parent of per-built-distribution-format # temporary directories (eg. we'll probably have @@ -121,7 +124,6 @@ class bdist (Command): # finalize_options() - def run (self): # Figure out which sub-commands we need to run. |