summaryrefslogtreecommitdiffstats
path: root/Lib/distutils
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2012-07-10 05:07:06 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2012-07-10 05:07:06 (GMT)
commit7d30b80a4e668c3be26b6b1dabd4b7329447c1f9 (patch)
treef8fb7919b74af95759501af4175b04bf99421e76 /Lib/distutils
parent2b9df89ff1140f36b2484ffd28abe12d5d629c5d (diff)
downloadcpython-7d30b80a4e668c3be26b6b1dabd4b7329447c1f9.zip
cpython-7d30b80a4e668c3be26b6b1dabd4b7329447c1f9.tar.gz
cpython-7d30b80a4e668c3be26b6b1dabd4b7329447c1f9.tar.bz2
Issue #15315: Support VS 2010 in distutils cygwincompiler.
Diffstat (limited to 'Lib/distutils')
-rw-r--r--Lib/distutils/cygwinccompiler.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/Lib/distutils/cygwinccompiler.py b/Lib/distutils/cygwinccompiler.py
index 819e1a9..0bdd539 100644
--- a/Lib/distutils/cygwinccompiler.py
+++ b/Lib/distutils/cygwinccompiler.py
@@ -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)