Author: Amaury Forgeot d'Arc <[email protected]>
Branch:
Changeset: r45360:867e8ffff7a8
Date: 2011-07-05 10:14 +0200
http://bitbucket.org/pypy/pypy/changeset/867e8ffff7a8/
Log: Extension modules could not be compiled with the mingw32 compiler,
because pypy 1.5.0 binary was built with VS2010.
diff --git a/lib-python/modified-2.7/distutils/cygwinccompiler.py
b/lib-python/modified-2.7/distutils/cygwinccompiler.py
--- a/lib-python/modified-2.7/distutils/cygwinccompiler.py
+++ b/lib-python/modified-2.7/distutils/cygwinccompiler.py
@@ -75,6 +75,9 @@
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)
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit