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 / python / 009-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
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: