From: Andrew M. Kuchling Date: Wed, 17 Jan 2001 20:20:44 +0000 (+0000) Subject: Use the extended library search path when looking for readline (simple X-Git-Tag: v2.1a1~189 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4f9e9432a8bd7f2d6a800a79f62f6b57e1cbe527;p=python Use the extended library search path when looking for readline (simple oversight in using self.compiler.library_dirs) --- diff --git a/setup.py b/setup.py index a3a7c09a79..646dd43f0d 100644 --- a/setup.py +++ b/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']) )