mirror of
https://github.com/python/cpython.git
synced 2025-11-01 10:45:30 +00:00
Patch #497126: Always compile dl.
This commit is contained in:
parent
7198a525f3
commit
93227275dc
4 changed files with 17 additions and 7 deletions
5
setup.py
5
setup.py
|
|
@ -567,6 +567,11 @@ class PyBuildExt(build_ext):
|
|||
define_macros = expat_defs,
|
||||
libraries = ['expat']) )
|
||||
|
||||
# Dynamic loading module
|
||||
dl_inc = find_file('dlfcn.h', [], inc_dirs)
|
||||
if dl_inc is not None:
|
||||
exts.append( Extension('dl', ['dlmodule.c']) )
|
||||
|
||||
# Platform-specific libraries
|
||||
if platform == 'linux2':
|
||||
# Linux-specific modules
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue