]> granicus.if.org Git - python/commitdiff
Issue #15315: Support VS 2010 in distutils cygwincompiler.
authorMartin v. Löwis <martin@v.loewis.de>
Tue, 10 Jul 2012 05:07:06 +0000 (07:07 +0200)
committerMartin v. Löwis <martin@v.loewis.de>
Tue, 10 Jul 2012 05:07:06 +0000 (07:07 +0200)
Lib/distutils/cygwinccompiler.py
Misc/NEWS

index 819e1a97be324b8dc01a886c826b74def384fe59..0bdd539c37eb1941ec8b6f77f945438ce0a3faba 100644 (file)
@@ -78,6 +78,9 @@ def get_msvcr():
         elif msc_ver == '1500':
             # VS2008 / MSVC 9.0
             return ['msvcr90']
+        elif msc_ver == '1600':
+            # VS2010 / MSVC 10.0
+            return ['msvcr100']
         else:
             raise ValueError("Unknown MS Compiler version %s " % msc_ver)
 
index a8344db732e41e0ca2be96d4fdacf401748716ef..17b8329407d173d079e5b304fdb690b7840affa9 100644 (file)
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -31,6 +31,8 @@ Core and Builtins
 Library
 -------
 
+- Issue #15315: Support VS 2010 in distutils cygwincompiler.
+
 - Issue #15294: Fix a regression in pkgutil.extend_path()'s handling of
   nested namespace packages.