]> granicus.if.org Git - python/commitdiff
Use the extended library search path when looking for readline (simple
authorAndrew M. Kuchling <amk@amk.ca>
Wed, 17 Jan 2001 20:20:44 +0000 (20:20 +0000)
committerAndrew M. Kuchling <amk@amk.ca>
Wed, 17 Jan 2001 20:20:44 +0000 (20:20 +0000)
   oversight in using self.compiler.library_dirs)

setup.py

index a3a7c09a792d632fce286ada4b353828bc9eed15..646dd43f0d60d0d352afc88412a875ee0e4067cc 100644 (file)
--- 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']) )