From: Stefan Krah Date: Thu, 3 Jun 2010 14:25:16 +0000 (+0000) Subject: Use compiler rather than compiler_obj. Thanks Michael Foord for noticing. X-Git-Tag: v2.7rc1~44 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=23152ea5bdf4b2e54bbf9a1efa0c7eba292d38cf;p=thirdparty%2FPython%2Fcpython.git Use compiler rather than compiler_obj. Thanks Michael Foord for noticing. --- diff --git a/setup.py b/setup.py index cb65f46e349e..514cfb1d065a 100644 --- a/setup.py +++ b/setup.py @@ -607,11 +607,11 @@ class PyBuildExt(build_ext): # use the same library for the readline and curses modules. if 'curses' in readline_termcap_library: curses_library = readline_termcap_library - elif self.compiler_obj.find_library_file(lib_dirs, 'ncursesw'): + elif self.compiler.find_library_file(lib_dirs, 'ncursesw'): curses_library = 'ncursesw' - elif self.compiler_obj.find_library_file(lib_dirs, 'ncurses'): + elif self.compiler.find_library_file(lib_dirs, 'ncurses'): curses_library = 'ncurses' - elif self.compiler_obj.find_library_file(lib_dirs, 'curses'): + elif self.compiler.find_library_file(lib_dirs, 'curses'): curses_library = 'curses' if platform == 'darwin':