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:
Jack Jansen 2003-02-18 10:24:34 +00:00
parent 0c0aad948a
commit 0feb8c347e
1 changed files with 1 additions and 1 deletions

View File

@ -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