summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZachary Ware <zachary.ware@gmail.com>2016-10-01 16:15:09 -0500
committerZachary Ware <zachary.ware@gmail.com>2016-10-01 16:15:09 -0500
commitb8032e136b864af0607c781371ee6a8730f67efc (patch)
treedd6e574ebae079c98d026f8c0071a9d7abaf1a96
parentae14a8ce9ba78b945e971ff4e7f9d5b17d5ff2ec (diff)
downloadpython-setuptools-git-b8032e136b864af0607c781371ee6a8730f67efc.tar.gz
Issue #13756: Fix building extensions modules on Cygwin
Patch by Roumen Petrov, based on original patch by Jason Tishler.
-rw-r--r--command/build_ext.py7
1 files changed, 0 insertions, 7 deletions
diff --git a/command/build_ext.py b/command/build_ext.py
index 74de782d..9155626a 100644
--- a/command/build_ext.py
+++ b/command/build_ext.py
@@ -715,13 +715,6 @@ class build_ext(Command):
return ext.libraries + [pythonlib]
else:
return ext.libraries
- 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