Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 1 | From 039c53dd5baddec3359a05be0bff46a3b32bbb84 Mon Sep 17 00:00:00 2001 |
Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 2 | From: Alexander Kanavin <alex.kanavin@gmail.com> |
| 3 | Date: Fri, 25 Jan 2019 19:04:13 +0100 |
| 4 | Subject: [PATCH] Do not add /usr/lib/termcap to linker flags to avoid host |
| 5 | contamination |
| 6 | |
| 7 | Upstream-Status: Inappropriate [oe-core specific] |
| 8 | Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> |
| 9 | |
| 10 | --- |
| 11 | setup.py | 1 - |
| 12 | 1 file changed, 1 deletion(-) |
| 13 | |
| 14 | diff --git a/setup.py b/setup.py |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 15 | index 20d7f35..ab18ff0 100644 |
Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 16 | --- a/setup.py |
| 17 | +++ b/setup.py |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 18 | @@ -957,7 +957,6 @@ class PyBuildExt(build_ext): |
Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 19 | 'termcap'): |
| 20 | readline_libs.append('termcap') |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 21 | 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 Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 25 | else: |