Commit 5bf298f0 authored by Martin v. Löwis's avatar Martin v. Löwis

Work around distutils 3.1 breaking ext_map.

--HG--
branch : distribute
extra : rebase_source : 47da1d81d1923e23aa70949c2a69000c01f8f81f
parent 99ab2076
......@@ -111,6 +111,11 @@ class build_ext(_build_ext):
for ext in self.extensions:
fullname = ext._full_name
self.ext_map[fullname] = ext
# distutils 3.1 will also ask for module names
# XXX what to do with conflicts?
self.ext_map[fullname.split('.')[-1]] = ext
ltd = ext._links_to_dynamic = \
self.shlibs and self.links_to_dynamic(ext) or False
ext._needs_stub = ltd and use_stubs and not isinstance(ext,Library)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment