Mercurial > cpython-lru_cache-weakref
diff setup.py @ 37553:3959810bc549 legacy-trunk
Python on OS X 10.3 and above now uses dlopen() (via dynload_shlib.c)
to load extension modules and now provides the dl module. As a result,
sys.setdlopenflags() now works correctly on these systems. (SF patch
#1454844)
| author | Anthony Baxter <anthonybaxter@gmail.com> |
|---|---|
| date | Sun, 09 Apr 2006 15:07:40 +0000 |
| parents | 5bc2b4e3ffc1 |
| children | e070c316eb45 |
line wrap: on
line diff
--- a/setup.py Sun Apr 09 14:28:13 2006 +0000 +++ b/setup.py Sun Apr 09 15:07:40 2006 +0000 @@ -969,7 +969,7 @@ 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', 'darwin']): + if (dl_inc is not None) and (platform not in ['atheos']): exts.append( Extension('dl', ['dlmodule.c']) ) # Thomas Heller's _ctypes module
