mirror of
https://github.com/python/cpython.git
synced 2025-10-21 06:02:21 +00:00
Remove the dl module per PEP 3108.
This commit is contained in:
parent
e7789b186d
commit
6cf49cf106
11 changed files with 5 additions and 467 deletions
11
setup.py
11
setup.py
|
@ -1105,17 +1105,6 @@ class PyBuildExt(build_ext):
|
|||
exts.append(Extension('_codecs_%s' % loc,
|
||||
['cjkcodecs/_codecs_%s.c' % loc]))
|
||||
|
||||
# Dynamic loading module
|
||||
if sys.maxsize == 0x7fffffff:
|
||||
# This requires sizeof(int) == sizeof(long) == sizeof(char*)
|
||||
dl_inc = find_file('dlfcn.h', [], inc_dirs)
|
||||
if (dl_inc is not None) and (platform not in ['atheos']):
|
||||
exts.append( Extension('dl', ['dlmodule.c']) )
|
||||
else:
|
||||
missing.append('dl')
|
||||
else:
|
||||
missing.append('dl')
|
||||
|
||||
# Thomas Heller's _ctypes module
|
||||
self.detect_ctypes(inc_dirs, lib_dirs)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue