mirror of https://github.com/python/cpython
Use the extended library search path when looking for readline (simple
oversight in using self.compiler.library_dirs)
This commit is contained in:
parent
7dfe6e3264
commit
4f9e9432a8
2
setup.py
2
setup.py
|
@ -173,7 +173,7 @@ class PyBuildExt(build_ext):
|
|||
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']) )
|
||||
|
||||
|
|
Loading…
Reference in New Issue