summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/python/python-native/0001-python-native-fix-one-do_populate_sysroot-warning.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/python/python-native/0001-python-native-fix-one-do_populate_sysroot-warning.patch')
-rw-r--r--meta/recipes-devtools/python/python-native/0001-python-native-fix-one-do_populate_sysroot-warning.patch40
1 files changed, 0 insertions, 40 deletions
diff --git a/meta/recipes-devtools/python/python-native/0001-python-native-fix-one-do_populate_sysroot-warning.patch b/meta/recipes-devtools/python/python-native/0001-python-native-fix-one-do_populate_sysroot-warning.patch
deleted file mode 100644
index 707ee596fa..0000000000
--- a/meta/recipes-devtools/python/python-native/0001-python-native-fix-one-do_populate_sysroot-warning.patch
+++ /dev/null
@@ -1,40 +0,0 @@
1From 6cbb7529cf7ff0da3ca649fb3486facd9620d625 Mon Sep 17 00:00:00 2001
2From: Changqing Li <changqing.li@windriver.com>
3Date: Thu, 25 Oct 2018 07:32:14 +0000
4Subject: [PATCH] python-native: fix one do_populate_sysroot warning
5
6Fix below warning:
7WARNING: Skipping RPATH /usr/lib64 as is a standard search path for
8work/x86_64-linux/python-native/2.7.15-r1.1/recipe-sysroot-native/
9usr/lib/python2.7/lib-dynload/_bsddb.so
10
11setup.py will check db.h under include_dirs, for native build,
12/usr/lib64 will be insert to postion 0 of include_dirs, so
13it's priority is higher then our sysroot, cause db.h sysroot
14is ignored, and rpath set to /usr/lib64. and this cause warning
15when do_populate_sysroot. use append to fix it.
16
17Upstream-Status: Inappropriate [oe-specific]
18
19Signed-off-by: Changqing Li <changqing.li@windriver.com>
20
21---
22 setup.py | 2 +-
23 1 file changed, 1 insertion(+), 1 deletion(-)
24
25diff --git a/setup.py b/setup.py
26index a2c8127..22f9e23 100644
27--- a/setup.py
28+++ b/setup.py
29@@ -47,7 +47,7 @@ def add_dir_to_list(dirlist, dir):
30 else:
31 dir_exists = os.path.isdir(dir)
32 if dir_exists:
33- dirlist.insert(0, dir)
34+ dirlist.append(dir)
35
36 MACOS_SDK_ROOT = None
37
38--
392.17.1
40