diff options
author | Khem Raj <raj.khem@gmail.com> | 2016-04-28 06:38:50 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-05-14 07:26:41 +0100 |
commit | a63798df712bf0d2362e07713c06af3b071a10b2 (patch) | |
tree | b410aa7ce00e2e5e20a8f21dd8d8fd36dc30b756 /scripts/lib/wic/plugin.py | |
parent | cf82db2ba732031f392760e4f363e8b608e6fae3 (diff) | |
download | openembedded-core-a63798df712bf0d2362e07713c06af3b071a10b2.tar.gz openembedded-core-a63798df712bf0d2362e07713c06af3b071a10b2.tar.bz2 openembedded-core-a63798df712bf0d2362e07713c06af3b071a10b2.zip |
python-native: Point to expat in native sysroot and add missing dep on expat-native
This fixes inconsistency where expat dependency is
then depending upon build host having it or not having it
Fixes errors like
WARNING: renaming "pyexpat" since importing it failed: build/lib.linux-x86_64-2.7/pyexpat.so: undefined symbol: XML_SetCommentHandler
also reported here
https://dev.openwrt.org/ticket/20087
This work due to the fact that we use -isystem pointing to native sysroot
so the search order of native includedir is moved after buildhosts system
includdirs. Moment we replace it with -I, build falls apart
This also fixes the error
Caught exception: <type 'exceptions.ImportError'> ImportError('No module named _elementtree',)
where gobject-introspection-native fails to find _elementtree
which is only compiled if expat is available
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/wic/plugin.py')
0 files changed, 0 insertions, 0 deletions