| From bd152d01185a371a04680bc772c6454678de34f5 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 2e15fedeab2..b283ea3aeed 100644 |
| --- a/setup.py |
| +++ b/setup.py |
| @@ -1111,12 +1111,9 @@ def detect_readline_curses(self): |
| pass # Issue 7384: Already linked against curses or tinfo. |
| elif curses_library: |
| readline_libs.append(curses_library) |
| - elif self.compiler.find_library_file(self.lib_dirs + |
| - ['/usr/lib/termcap'], |
| - 'termcap'): |
| + elif self.compiler.find_library_file(self.lib_dirs, 'termcap'): |
| readline_libs.append('termcap') |
| self.add(Extension('readline', ['readline.c'], |
| - library_dirs=['/usr/lib/termcap'], |
| libraries=readline_libs)) |
| else: |
| self.missing.append('readline') |
| -- |
| 2.44.0 |
| |