The cirros image was rebuilt against the 3.13.0-83 kernel, drivers e1000e, igbvf...
[packages/trusty/cirros-testvm.git] / cirros-testvm / src-cirros / buildroot-2015.05 / package / python3 / 010-no-termcap-host-path.patch
1 Don't look in /usr/lib/termcap for libraries
2
3 Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
4
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: