Patrick Williams | 2390b1b | 2022-11-03 13:47:49 -0500 | [diff] [blame^] | 1 | From 93ae2ed3fc8be0245e35063c4f63626792f4cd0c 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 |
Patrick Williams | 2390b1b | 2022-11-03 13:47:49 -0500 | [diff] [blame^] | 15 | index 15d0d45..37ed244 100644 |
Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 16 | --- a/setup.py |
| 17 | +++ b/setup.py |
Patrick Williams | 2390b1b | 2022-11-03 13:47:49 -0500 | [diff] [blame^] | 18 | @@ -1109,7 +1109,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'], |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 23 | libraries=readline_libs)) |
Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 24 | else: |
Patrick Williams | 2390b1b | 2022-11-03 13:47:49 -0500 | [diff] [blame^] | 25 | self.missing.append('readline') |