diff -rupN Python-2.7.14/Lib/distutils/command/build_ext.py Python-2.7.14-new/Lib/distutils/command/build_ext.py
--- Python-2.7.14/Lib/distutils/command/build_ext.py 2017-09-16 19:38:35.000000000 +0200
+++ Python-2.7.14-new/Lib/distutils/command/build_ext.py 2017-10-31 18:36:33.001182972 +0100
@@ -726,13 +726,6 @@ class build_ext (Command):
# 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