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
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
|
||||
|
|
Loading…
Reference in New Issue