From 0feb8c347e4fa4e8860b2fc4f95602cf6621ab09 Mon Sep 17 00:00:00 2001 From: Jack Jansen Date: Tue, 18 Feb 2003 10:24:34 +0000 Subject: [PATCH] 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. --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 01b87ebeb6..3217033bd1 100644 --- a/setup.py +++ b/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 -- 2.40.0