diff options
author | Changqing Li <changqing.li@windriver.com> | 2018-10-25 16:59:28 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-05-22 00:31:48 +0100 |
commit | 51c5b21ae7738e99244b16d11a26e5f7f71d001b (patch) | |
tree | f12047a020a9fcc283574afc086f86fffd42242b /meta/recipes-devtools/python/python-native_2.7.15.bb | |
parent | 6a6756f46a939ff6b70b6f7058fea25cb005a882 (diff) | |
download | poky-51c5b21ae7738e99244b16d11a26e5f7f71d001b.tar.gz |
python-native: fix one do_populate_sysroot warning
Fix below warning:
WARNING: Skipping RPATH /usr/lib64 as is a standard search path for
work/x86_64-linux/python-native/2.7.15-r1.1/recipe-sysroot-native/
usr/lib/python2.7/lib-dynload/_bsddb.so
setup.py will check db.h under include_dirs, for native build,
/usr/lib64 will be insert to postion 0 of include_dirs, so
it's priority is higher then our sysroot, cause db.h sysroot
is ignored, and rpath set to /usr/lib64. and this cause warning
when do_populate_sysroot. use append to fix it.
(From OE-Core rev: 12df5392afb8446507bb73f4d33ee42e06a17b82)
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/python/python-native_2.7.15.bb')
-rw-r--r-- | meta/recipes-devtools/python/python-native_2.7.15.bb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-devtools/python/python-native_2.7.15.bb b/meta/recipes-devtools/python/python-native_2.7.15.bb index 9d0fe3b84f..f00153f0ee 100644 --- a/meta/recipes-devtools/python/python-native_2.7.15.bb +++ b/meta/recipes-devtools/python/python-native_2.7.15.bb | |||
@@ -16,6 +16,7 @@ SRC_URI += "\ | |||
16 | file://builddir.patch \ | 16 | file://builddir.patch \ |
17 | file://parallel-makeinst-create-bindir.patch \ | 17 | file://parallel-makeinst-create-bindir.patch \ |
18 | file://revert_use_of_sysconfigdata.patch \ | 18 | file://revert_use_of_sysconfigdata.patch \ |
19 | file://0001-python-native-fix-one-do_populate_sysroot-warning.patch \ | ||
19 | " | 20 | " |
20 | 21 | ||
21 | S = "${WORKDIR}/Python-${PV}" | 22 | S = "${WORKDIR}/Python-${PV}" |