summaryrefslogtreecommitdiff
path: root/Lib/distutils/command/build_ext.py
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2017-01-31 23:31:20 -0800
committerBenjamin Peterson <benjamin@python.org>2017-01-31 23:31:20 -0800
commit75a56cd1847142d9c893b6df5fb674f54b34d9ed (patch)
tree73d254a7d8ed4bc2f76293a2b2e223c3f48e7dd4 /Lib/distutils/command/build_ext.py
parentbff21dc9e43eaf9549abe72a32d98a6c20de8c5b (diff)
parentfcd15724f28a5249f13690af32dc12628ab186c6 (diff)
downloadcpython-75a56cd1847142d9c893b6df5fb674f54b34d9ed.tar.gz
merge 3.6 (#29398)
Diffstat (limited to 'Lib/distutils/command/build_ext.py')
-rw-r--r--Lib/distutils/command/build_ext.py7
1 files changed, 0 insertions, 7 deletions
diff --git a/Lib/distutils/command/build_ext.py b/Lib/distutils/command/build_ext.py
index 74de782d8a..9155626a47 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