From cec94a5c434db2d6e9a65eb5ddaa93517bb1fa93 Mon Sep 17 00:00:00 2001 From: Jack Jansen Date: Thu, 27 Dec 2001 21:51:02 +0000 Subject: [PATCH] Don;t build curses on MacOSX 10.1 or later. This is patch 496905, and Anthony asked me to check it in. --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 7b94235b18bb..e41983ede98a 100644 --- a/setup.py +++ b/setup.py @@ -410,7 +410,7 @@ 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')) and platform != 'darwin1': + elif (self.compiler.find_library_file(lib_dirs, 'curses')) and platform[:6] != 'darwin': # 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'] -- 2.47.3