Kaydet (Commit) 4ca5f38f authored tarafından Jack Jansen's avatar Jack Jansen

Disabled _curses modules on MacOSX. The curses version is a 1994 BSD

curses, far too old for _cursesmodule.c.
üst 83e7ccc9
......@@ -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:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment