[Python-checkins] r81672 - python/trunk/setup.py

stefan.krah python-checkins at python.org
Thu Jun 3 16:25:16 CEST 2010


Author: stefan.krah
Date: Thu Jun  3 16:25:16 2010
New Revision: 81672

Log:
Use compiler rather than compiler_obj. Thanks Michael Foord for noticing.



Modified:
   python/trunk/setup.py

Modified: python/trunk/setup.py
==============================================================================
--- python/trunk/setup.py	(original)
+++ python/trunk/setup.py	Thu Jun  3 16:25:16 2010
@@ -607,11 +607,11 @@
         # 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':


More information about the Python-checkins mailing list