blob: 62ef6efc28c45ec32843655ab774f5ef84e9d4f4 [file] [log] [blame]
Andrew Geissler595f6302022-01-24 19:11:47 +00001From 80f872e4573f542d33f91514538755557d566f79 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 Geissler595f6302022-01-24 19:11:47 +000015index 43e807f..11b5cf5 100644
Brad Bishop19323692019-04-05 15:28:33 -040016--- a/setup.py
17+++ b/setup.py
Andrew Geissler595f6302022-01-24 19:11:47 +000018@@ -1149,7 +1149,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: