blob: 16a4185704494197384c930d520570f49bb33467 [file] [log] [blame]
Patrick Williams2390b1b2022-11-03 13:47:49 -05001From 93ae2ed3fc8be0245e35063c4f63626792f4cd0c 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
Patrick Williams2390b1b2022-11-03 13:47:49 -050015index 15d0d45..37ed244 100644
Brad Bishop19323692019-04-05 15:28:33 -040016--- a/setup.py
17+++ b/setup.py
Patrick Williams2390b1b2022-11-03 13:47:49 -050018@@ -1109,7 +1109,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'],
Andrew Geissler82c905d2020-04-13 13:39:40 -050023 libraries=readline_libs))
Brad Bishop19323692019-04-05 15:28:33 -040024 else:
Patrick Williams2390b1b2022-11-03 13:47:49 -050025 self.missing.append('readline')