python-pyasn: bump to version 1.6.0b1
[buildroot-gz.git] / package / python3 / 0008-Don-t-look-in-usr-lib-termcap-for-libraries.patch
blob47a0b8329187892c805a3006dac644c0fe5da787
1 From d7c568632f7cb83346096ea114a06f89a0b488d6 Mon Sep 17 00:00:00 2001
2 From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
3 Date: Wed, 23 Dec 2015 11:36:00 +0100
4 Subject: [PATCH] Don't look in /usr/lib/termcap for libraries
6 Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 ---
8 setup.py | 5 +----
9 1 file changed, 1 insertion(+), 4 deletions(-)
11 diff --git a/setup.py b/setup.py
12 index 1ebfa50..24a7153 100644
13 --- a/setup.py
14 +++ b/setup.py
15 @@ -753,12 +753,9 @@ class PyBuildExt(build_ext):
16 pass # Issue 7384: Already linked against curses or tinfo.
17 elif curses_library:
18 readline_libs.append(curses_library)
19 - elif self.compiler.find_library_file(lib_dirs +
20 - ['/usr/lib/termcap'],
21 - 'termcap'):
22 + elif self.compiler.find_library_file(lib_dirs, 'termcap'):
23 readline_libs.append('termcap')
24 exts.append( Extension('readline', ['readline.c'],
25 - library_dirs=['/usr/lib/termcap'],
26 extra_link_args=readline_extra_link_args,
27 libraries=readline_libs) )
28 else:
29 --
30 2.6.4