Andrew Geissler | 517393d | 2023-01-13 08:55:19 -0600 | [diff] [blame] | 1 | From 32aba1dfba1e27103e7367bbb9e4bef0e31aeac5 Mon Sep 17 00:00:00 2001 |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 2 | From: Jeremy Puhlman <jpuhlman@mvista.com> |
| 3 | Date: Wed, 4 Mar 2020 00:06:42 +0000 |
| 4 | Subject: [PATCH] Don't search system for headers/libraries |
| 5 | |
| 6 | Upstream-Status: Inappropriate [oe-core specific] |
| 7 | Signed-off-by: Jeremy Puhlman <jpuhlman@mvista.com> |
Andrew Geissler | 4ed12e1 | 2020-06-05 18:00:41 -0500 | [diff] [blame] | 8 | |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 9 | --- |
| 10 | setup.py | 4 ++-- |
| 11 | 1 file changed, 2 insertions(+), 2 deletions(-) |
| 12 | |
| 13 | diff --git a/setup.py b/setup.py |
Patrick Williams | 2390b1b | 2022-11-03 13:47:49 -0500 | [diff] [blame] | 14 | index f29ac86..930cb20 100644 |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 15 | --- a/setup.py |
| 16 | +++ b/setup.py |
Patrick Williams | 2390b1b | 2022-11-03 13:47:49 -0500 | [diff] [blame] | 17 | @@ -877,8 +877,8 @@ class PyBuildExt(build_ext): |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 18 | add_dir_to_list(self.compiler.include_dirs, |
| 19 | sysconfig.get_config_var("INCLUDEDIR")) |
| 20 | |
| 21 | - system_lib_dirs = ['/lib64', '/usr/lib64', '/lib', '/usr/lib'] |
| 22 | - system_include_dirs = ['/usr/include'] |
| 23 | + system_lib_dirs = [] |
| 24 | + system_include_dirs = [] |
| 25 | # lib_dirs and inc_dirs are used to search for files; |
| 26 | # if a file is found in one of those directories, it can |
| 27 | # be assumed that no additional -I,-L directives are needed. |