diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2002-01-01 20:18:30 (GMT) |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2002-01-01 20:18:30 (GMT) |
commit | 93227275dcf18196c1b81a3c884dbd2e78c8f440 (patch) | |
tree | 38fac8a0362ab5455ca290de83ab65b59fb9a06c /setup.py | |
parent | 7198a525f3e926899ba238f6e6a2e6e9349b7de4 (diff) | |
download | cpython-93227275dcf18196c1b81a3c884dbd2e78c8f440.zip cpython-93227275dcf18196c1b81a3c884dbd2e78c8f440.tar.gz cpython-93227275dcf18196c1b81a3c884dbd2e78c8f440.tar.bz2 |
Patch #497126: Always compile dl.
Diffstat (limited to 'setup.py')
-rw-r--r-- | setup.py | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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 |