package/dhcp/S80dhcp-server: allow empty INTERFACES
[buildroot-gz.git] / package / python3 / 010-no-termcap-host-path.patch
blob46c8a77f92e407f8a7a7f21ae35aa25f9873f9b5
1 Don't look in /usr/lib/termcap for libraries
3 Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
5 Index: b/setup.py
6 ===================================================================
7 --- a/setup.py
8 +++ b/setup.py
9 @@ -733,12 +733,9 @@
10 pass # Issue 7384: Already linked against curses or tinfo.
11 elif curses_library:
12 readline_libs.append(curses_library)
13 - elif self.compiler.find_library_file(lib_dirs +
14 - ['/usr/lib/termcap'],
15 - '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) )
22 else: