diff options
author | Jack Jansen <jack.jansen@cwi.nl> | 2001-09-04 09:05:11 (GMT) |
---|---|---|
committer | Jack Jansen <jack.jansen@cwi.nl> | 2001-09-04 09:05:11 (GMT) |
commit | 4ca5f38f463301cd17284c3ed45add88b3ccc24b (patch) | |
tree | bf732e6a76aec5517dc241d0a2f2a69717d8e1c8 /setup.py | |
parent | 83e7ccc9fdc9a5e1220fb14a173ed8f391380966 (diff) | |
download | cpython-4ca5f38f463301cd17284c3ed45add88b3ccc24b.zip cpython-4ca5f38f463301cd17284c3ed45add88b3ccc24b.tar.gz cpython-4ca5f38f463301cd17284c3ed45add88b3ccc24b.tar.bz2 |
Disabled _curses modules on MacOSX. The curses version is a 1994 BSD
curses, far too old for _cursesmodule.c.
Diffstat (limited to 'setup.py')
-rw-r--r-- | setup.py | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -451,7 +451,8 @@ class PyBuildExt(build_ext): curses_libs = ['ncurses'] exts.append( Extension('_curses', ['_cursesmodule.c'], libraries = curses_libs) ) - elif (self.compiler.find_library_file(lib_dirs, 'curses')): + elif (self.compiler.find_library_file(lib_dirs, 'curses')) and platform != 'darwin1': + # OSX has an old Berkeley curses, not good enough for the _curses module. if (self.compiler.find_library_file(lib_dirs, 'terminfo')): curses_libs = ['curses', 'terminfo'] else: |