diff options
author | Brian Curtin <brian@python.org> | 2012-05-13 16:19:23 (GMT) |
---|---|---|
committer | Brian Curtin <brian@python.org> | 2012-05-13 16:19:23 (GMT) |
commit | 401f9f3d32dcebf5ead8079d46a83fe7c7631581 (patch) | |
tree | 899600f4dad86565fd3585499e2332d2a3599d42 /Lib/distutils/command/build_ext.py | |
parent | 708d88c33441b29760b9246d61844eb59c1d0f3a (diff) | |
download | cpython-401f9f3d32dcebf5ead8079d46a83fe7c7631581.zip cpython-401f9f3d32dcebf5ead8079d46a83fe7c7631581.tar.gz cpython-401f9f3d32dcebf5ead8079d46a83fe7c7631581.tar.bz2 |
Fix #13210. Port the Windows build from VS2008 to VS2010.
Diffstat (limited to 'Lib/distutils/command/build_ext.py')
-rw-r--r-- | Lib/distutils/command/build_ext.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/distutils/command/build_ext.py b/Lib/distutils/command/build_ext.py index 59d0cd2..ac37c13 100644 --- a/Lib/distutils/command/build_ext.py +++ b/Lib/distutils/command/build_ext.py @@ -197,7 +197,7 @@ class build_ext(Command): # Append the source distribution include and library directories, # this allows distutils on windows to work in the source tree self.include_dirs.append(os.path.join(sys.exec_prefix, 'PC')) - if MSVC_VERSION == 9: + if MSVC_VERSION >= 9: # Use the .lib files for the correct architecture if self.plat_name == 'win32': suffix = '' |