diff options
author | Zachary Ware <zachary.ware@gmail.com> | 2016-10-01 21:15:09 (GMT) |
---|---|---|
committer | Zachary Ware <zachary.ware@gmail.com> | 2016-10-01 21:15:09 (GMT) |
commit | 3839d99b7913a37e370fbbedc5495162b2080e46 (patch) | |
tree | e29aee59ab2fbf5c318e407972ec66c2213955dd /Lib/distutils | |
parent | e999e96143a85af9ed50e2ad240ff28113c4feba (diff) | |
download | cpython-3839d99b7913a37e370fbbedc5495162b2080e46.zip cpython-3839d99b7913a37e370fbbedc5495162b2080e46.tar.gz cpython-3839d99b7913a37e370fbbedc5495162b2080e46.tar.bz2 |
Issue #13756: Fix building extensions modules on Cygwin
Patch by Roumen Petrov, based on original patch by Jason Tishler.
Diffstat (limited to 'Lib/distutils')
-rw-r--r-- | Lib/distutils/command/build_ext.py | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/Lib/distutils/command/build_ext.py b/Lib/distutils/command/build_ext.py index 74de782..9155626 100644 --- a/Lib/distutils/command/build_ext.py +++ b/Lib/distutils/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 |