mirror of
https://github.com/python/cpython.git
synced 2025-09-27 02:39:58 +00:00
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
1 changed files with 1 additions and 1 deletions
2
setup.py
2
setup.py
|
@ -173,7 +173,7 @@ class PyBuildExt(build_ext):
|
||||||
exts.append( Extension('rgbimg', ['rgbimgmodule.c']) )
|
exts.append( Extension('rgbimg', ['rgbimgmodule.c']) )
|
||||||
|
|
||||||
# readline
|
# 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'],
|
exts.append( Extension('readline', ['readline.c'],
|
||||||
libraries=['readline', 'termcap']) )
|
libraries=['readline', 'termcap']) )
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue