diff --git a/setup.py b/setup.py index f9524e68f08..a40715c5016 100644 --- a/setup.py +++ b/setup.py @@ -398,7 +398,7 @@ def detect_modules(self): # Curses support, requring the System V version of curses, often # provided by the ncurses library. if platform == 'sunos4': - include_dirs += ['/usr/5include'] + inc_dirs += ['/usr/5include'] lib_dirs += ['/usr/5lib'] if (self.compiler.find_library_file(lib_dirs, 'ncurses')):