Blame 0270-CYGWIN-issue13756-Python-make-fail-on-cygwin.patch

ddb6764
diff -rupN Python-2.7.13/Lib/distutils/command/build_ext.py Python-2.7.13-new/Lib/distutils/command/build_ext.py
ddb6764
--- Python-2.7.13/Lib/distutils/command/build_ext.py	2016-12-17 21:05:05.000000000 +0100
ddb6764
+++ Python-2.7.13-new/Lib/distutils/command/build_ext.py	2017-01-21 01:46:06.281609958 +0100
ddb6764
@@ -726,13 +726,6 @@ class build_ext (Command):
ddb6764
             # don't extend ext.libraries, it may be shared with other
ddb6764
             # extensions, it is a reference to the original list
ddb6764
             return ext.libraries + [pythonlib]
ddb6764
-        elif sys.platform[:6] == "cygwin":
ddb6764
-            template = "python%d.%d"
ddb6764
-            pythonlib = (template %
ddb6764
-                   (sys.hexversion >> 24, (sys.hexversion >> 16) & 0xff))
ddb6764
-            # don't extend ext.libraries, it may be shared with other
ddb6764
-            # extensions, it is a reference to the original list
ddb6764
-            return ext.libraries + [pythonlib]
ddb6764
         elif sys.platform[:6] == "atheos":
ddb6764
             from distutils import sysconfig
ddb6764