summaryrefslogtreecommitdiffstats
path: root/setup.py
diff options
context:
space:
mode:
Diffstat (limited to 'setup.py')
-rw-r--r--setup.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/setup.py b/setup.py
index cb65f46..514cfb1 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':