mirror of
https://github.com/AdaCore/cpython.git
synced 2026-02-12 12:57:15 -08:00
Don't try to build dl on darwin. It doesn't build out of the box, and it
wouldn't serve a useful purpose anyway.
This commit is contained in:
2
setup.py
2
setup.py
@@ -734,7 +734,7 @@ class PyBuildExt(build_ext):
|
||||
if sys.maxint == 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']):
|
||||
if (dl_inc is not None) and (platform not in ['atheos', 'darwin']):
|
||||
exts.append( Extension('dl', ['dlmodule.c']) )
|
||||
|
||||
# Platform-specific libraries
|
||||
|
||||
Reference in New Issue
Block a user