diff --git a/setup.py b/setup.py index a3a7c09a792..646dd43f0d6 100644 --- a/setup.py +++ b/setup.py @@ -173,7 +173,7 @@ def detect_modules(self): exts.append( Extension('rgbimg', ['rgbimgmodule.c']) ) # readline - if (self.compiler.find_library_file(self.compiler.library_dirs, 'readline')): + if (self.compiler.find_library_file(lib_dirs, 'readline')): exts.append( Extension('readline', ['readline.c'], libraries=['readline', 'termcap']) )