Files
MINGW-packages/mingw-w64-python2/0270-CYGWIN-issue13756-Python-make-fail-on-cygwin.patch

18 lines
915 B
Diff

diff -Naur a/Lib/distutils/command/build_ext.py b/Lib/distutils/command/build_ext.py
--- a/Lib/distutils/command/build_ext.py 2013-11-10 11:36:40.000000000 +0400
+++ b/Lib/distutils/command/build_ext.py 2014-02-18 09:32:02.184200000 +0400
@@ -723,13 +723,6 @@
# don't extend ext.libraries, it may be shared with other
# extensions, it is a reference to the original list
return ext.libraries + [pythonlib]
- elif sys.platform[:6] == "cygwin":
- template = "python%d.%d"
- pythonlib = (template %
- (sys.hexversion >> 24, (sys.hexversion >> 16) & 0xff))
- # don't extend ext.libraries, it may be shared with other
- # extensions, it is a reference to the original list
- return ext.libraries + [pythonlib]
elif sys.platform[:6] == "atheos":
from distutils import sysconfig