1 Don't look in /usr/lib/termcap for libraries
3 Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 ===================================================================
11 pass # Issue 7384: Already linked against curses or tinfo.
13 readline_libs.append(curses_library)
14 - elif self.compiler.find_library_file(lib_dirs +
15 - ['/usr/lib/termcap'],
17 + elif self.compiler.find_library_file(lib_dirs, 'termcap'):
18 readline_libs.append('termcap')
19 exts.append( Extension('readline', ['readline.c'],
20 - library_dirs=['/usr/lib/termcap'],
21 extra_link_args=readline_extra_link_args,
22 libraries=readline_libs) )