2017-03-23 16:21:12 +01:00
|
|
|
From 0458813245e8ba3d5b567cd53303cbe975144e95 Mon Sep 17 00:00:00 2001
|
2016-01-04 19:23:28 +01:00
|
|
|
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
|
2014-02-18 21:40:01 +01:00
|
|
|
|
|
|
|
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
|
2016-01-04 19:23:28 +01:00
|
|
|
---
|
|
|
|
setup.py | 5 +----
|
|
|
|
1 file changed, 1 insertion(+), 4 deletions(-)
|
2014-02-18 21:40:01 +01:00
|
|
|
|
2016-01-04 19:23:28 +01:00
|
|
|
diff --git a/setup.py b/setup.py
|
2017-03-23 16:21:12 +01:00
|
|
|
index c5bce21..c5eb97d 100644
|
2014-02-18 21:40:01 +01:00
|
|
|
--- a/setup.py
|
|
|
|
+++ b/setup.py
|
2017-03-23 16:21:12 +01:00
|
|
|
@@ -786,12 +786,9 @@ class PyBuildExt(build_ext):
|
2014-02-18 21:40:01 +01:00
|
|
|
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:
|
2016-01-04 19:23:28 +01:00
|
|
|
--
|
2017-03-23 16:21:12 +01:00
|
|
|
2.9.3
|
2016-01-04 19:23:28 +01:00
|
|
|
|