blob: 59592821d7fea383ed468f92e1973dabc3707017 [file] [log] [blame]
Andrew Geissler82c905d2020-04-13 13:39:40 -05001From 039c53dd5baddec3359a05be0bff46a3b32bbb84 Mon Sep 17 00:00:00 2001
Brad Bishop19323692019-04-05 15:28:33 -04002From: Alexander Kanavin <alex.kanavin@gmail.com>
3Date: Fri, 25 Jan 2019 19:04:13 +0100
4Subject: [PATCH] Do not add /usr/lib/termcap to linker flags to avoid host
5 contamination
6
7Upstream-Status: Inappropriate [oe-core specific]
8Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
9
10---
11 setup.py | 1 -
12 1 file changed, 1 deletion(-)
13
14diff --git a/setup.py b/setup.py
Andrew Geissler82c905d2020-04-13 13:39:40 -050015index 20d7f35..ab18ff0 100644
Brad Bishop19323692019-04-05 15:28:33 -040016--- a/setup.py
17+++ b/setup.py
Andrew Geissler82c905d2020-04-13 13:39:40 -050018@@ -957,7 +957,6 @@ class PyBuildExt(build_ext):
Brad Bishop19323692019-04-05 15:28:33 -040019 'termcap'):
20 readline_libs.append('termcap')
Andrew Geissler82c905d2020-04-13 13:39:40 -050021 self.add(Extension('readline', ['readline.c'],
22- library_dirs=['/usr/lib/termcap'],
23 extra_link_args=readline_extra_link_args,
24 libraries=readline_libs))
Brad Bishop19323692019-04-05 15:28:33 -040025 else: