Blame view

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