Skip to content

Commit 831273a

Browse files
committed
Use compiler rather than compiler_obj. Thanks Michael Foord for noticing.
1 parent 1fc29c8 commit 831273a

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

setup.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -607,11 +607,11 @@ def detect_modules(self):
607607
# use the same library for the readline and curses modules.
608608
if 'curses' in readline_termcap_library:
609609
curses_library = readline_termcap_library
610-
elif self.compiler_obj.find_library_file(lib_dirs, 'ncursesw'):
610+
elif self.compiler.find_library_file(lib_dirs, 'ncursesw'):
611611
curses_library = 'ncursesw'
612-
elif self.compiler_obj.find_library_file(lib_dirs, 'ncurses'):
612+
elif self.compiler.find_library_file(lib_dirs, 'ncurses'):
613613
curses_library = 'ncurses'
614-
elif self.compiler_obj.find_library_file(lib_dirs, 'curses'):
614+
elif self.compiler.find_library_file(lib_dirs, 'curses'):
615615
curses_library = 'curses'
616616

617617
if platform == 'darwin':

0 commit comments

Comments
 (0)