mirror of
git://git.yoctoproject.org/poky.git
synced 2025-07-19 21:09:03 +02:00

(From OE-Core rev: 7779cc998bea2aab2a66b874cd849b3a0b6e7721) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
28 lines
1.0 KiB
Diff
28 lines
1.0 KiB
Diff
From 7589ab03ad3f7cb4bb092c31273ff22371ac77e4 Mon Sep 17 00:00:00 2001
|
|
From: Jeremy Puhlman <jpuhlman@mvista.com>
|
|
Date: Wed, 4 Mar 2020 00:06:42 +0000
|
|
Subject: [PATCH] Don't search system for headers/libraries
|
|
|
|
Upstream-Status: Inappropriate [oe-core specific]
|
|
Signed-off-by: Jeremy Puhlman <jpuhlman@mvista.com>
|
|
|
|
---
|
|
setup.py | 4 ++--
|
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
|
|
diff --git a/setup.py b/setup.py
|
|
index c3a6b5e..c892537 100644
|
|
--- a/setup.py
|
|
+++ b/setup.py
|
|
@@ -856,8 +856,8 @@ class PyBuildExt(build_ext):
|
|
add_dir_to_list(self.compiler.include_dirs,
|
|
sysconfig.get_config_var("INCLUDEDIR"))
|
|
|
|
- system_lib_dirs = ['/lib64', '/usr/lib64', '/lib', '/usr/lib']
|
|
- system_include_dirs = ['/usr/include']
|
|
+ system_lib_dirs = []
|
|
+ system_include_dirs = []
|
|
# lib_dirs and inc_dirs are used to search for files;
|
|
# if a file is found in one of those directories, it can
|
|
# be assumed that no additional -I,-L directives are needed.
|