mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-01-01 13:58:06 +00:00
libgweather: fix build with gobject-introspection 1.80.0
gweather build is running a python script build-aux/meson/gen_locations_variant.py which imports g-i data at build time: from gi.repository import GLib Previously this would import the typelib file installed by native g-i (which would likely not match the cross target, but nvm). New g-i version no longer installs those files, so the options are: - run the python script with target python inside qemu - copy the needed typelib from target sysroot into the native one. I took the easy way out. Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
parent
956ebe0cdc
commit
4c40897893
|
|
@ -28,3 +28,7 @@ FILES:${PN} += " \
|
|||
${datadir}/libgweather-4 \
|
||||
${libdir}/libgweather-4 \
|
||||
"
|
||||
|
||||
do_configure:prepend() {
|
||||
cp -f ${STAGING_LIBDIR}/girepository-1.0/GLib*typelib ${STAGING_LIBDIR_NATIVE}/girepository-1.0/
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user