summaryrefslogtreecommitdiff
path: root/Lib/packaging/command/build_ext.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/packaging/command/build_ext.py')
-rw-r--r--Lib/packaging/command/build_ext.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/packaging/command/build_ext.py b/Lib/packaging/command/build_ext.py
index 4c85822a92..99cf8ce2e7 100644
--- a/Lib/packaging/command/build_ext.py
+++ b/Lib/packaging/command/build_ext.py
@@ -191,7 +191,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 = ''