]> 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)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 3 Jan 2019 12:36:02 +0000 (12:36 +0000)
commita477c323008719ccc4772769c1075fb44448f706
tree9698d82f7999ce26762a970c94bb2cdfd45e6a7b
parent0bc0b83176117a7f10c9256aaae08553a116d45a
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>
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