hplip: needs dynamic library
[buildroot-gz.git] / package / python / 009-no-termcap-host-path.patch
blob781e17952f68ad8f34d26b3c29c893f9b0058c2e
1 Don't look in /usr/lib/termcap for libraries
3 Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 Index: b/setup.py
7 ===================================================================
8 --- a/setup.py
9 +++ b/setup.py
10 @@ -764,12 +764,9 @@
11 pass # Issue 7384: Already linked against curses or tinfo.
12 elif curses_library:
13 readline_libs.append(curses_library)
14 - elif self.compiler.find_library_file(lib_dirs +
15 - ['/usr/lib/termcap'],
16 - '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) )
23 else: