Use the extended library search path when looking for readline (simple

oversight in using self.compiler.library_dirs)
This commit is contained in:
Andrew M. Kuchling 2001-01-17 20:20:44 +00:00
parent 7dfe6e3264
commit 4f9e9432a8
1 changed files with 1 additions and 1 deletions

View File

@ -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']) )