]> 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>
Mon, 7 Jan 2019 10:54:21 +0000 (10:54 +0000)
commitcf994752b69083aaa4f0b873357d6c873b32d7be
tree33f98580acabdfb4ba545b7b2f962d39b5300024
parent96383efa2726ed1bf7893332d726112a8552fc24
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