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