mirror of
https://github.com/python/cpython.git
synced 2025-09-27 10:50:04 +00:00
Use compiler rather than compiler_obj. Thanks Michael Foord for noticing.
This commit is contained in:
parent
449aa86bd6
commit
23152ea5bd
1 changed files with 3 additions and 3 deletions
6
setup.py
6
setup.py
|
@ -607,11 +607,11 @@ class PyBuildExt(build_ext):
|
||||||
# use the same library for the readline and curses modules.
|
# use the same library for the readline and curses modules.
|
||||||
if 'curses' in readline_termcap_library:
|
if 'curses' in readline_termcap_library:
|
||||||
curses_library = 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'
|
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'
|
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'
|
curses_library = 'curses'
|
||||||
|
|
||||||
if platform == 'darwin':
|
if platform == 'darwin':
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue