]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.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>
Wed, 19 Dec 2018 22:34:34 +0000 (22:34 +0000)
commita773a0f524f3c3d13e7a65c56d184a85c931aede
tree77f5da9bf48bd1fd1e0a428b82a15298abba8352
parentdc0fc8f49881e368c463be29fc0600f8c1734a2b
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