]> code.ossystems Code Review - openembedded-core.git/commit
python-native: fix one do_populate_sysroot warning
authorChangqing Li <changqing.li@windriver.com>
Thu, 25 Oct 2018 08:59:28 +0000 (16:59 +0800)
committerArmin Kuster <akuster808@gmail.com>
Sat, 13 Apr 2019 19:41:33 +0000 (12:41 -0700)
commit12df5392afb8446507bb73f4d33ee42e06a17b82
tree32870ce84f9fee9d60f613fec0cf286c37645806
parentca415c4250e32e9430a13b9edf7b308637ce597f
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.

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>
meta/recipes-devtools/python/python-native/0001-python-native-fix-one-do_populate_sysroot-warning.patch [new file with mode: 0644]
meta/recipes-devtools/python/python-native_2.7.15.bb