mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +00: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:
parent
0c0aad948a
commit
0feb8c347e
1 changed files with 1 additions and 1 deletions
2
setup.py
2
setup.py
|
@ -734,7 +734,7 @@ class PyBuildExt(build_ext):
|
||||||
if sys.maxint == 0x7fffffff:
|
if sys.maxint == 0x7fffffff:
|
||||||
# This requires sizeof(int) == sizeof(long) == sizeof(char*)
|
# This requires sizeof(int) == sizeof(long) == sizeof(char*)
|
||||||
dl_inc = find_file('dlfcn.h', [], inc_dirs)
|
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']) )
|
exts.append( Extension('dl', ['dlmodule.c']) )
|
||||||
|
|
||||||
# Platform-specific libraries
|
# Platform-specific libraries
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue