- also copy GLib*Typelib to STAGING_LIBDIR_NATIVE to avoid:
| gi.RepositoryError: Typelib file for namespace 'GLib', version '2.0' not found

Signed-off-by: Markus Volk <[email protected]>
---
 .../networkmanager/networkmanager_1.46.0.bb                     | 2 ++
 1 file changed, 2 insertions(+)

diff --git 
a/meta-networking/recipes-connectivity/networkmanager/networkmanager_1.46.0.bb 
b/meta-networking/recipes-connectivity/networkmanager/networkmanager_1.46.0.bb
index 8184fcf1a..3c9570d92 100644
--- 
a/meta-networking/recipes-connectivity/networkmanager/networkmanager_1.46.0.bb
+++ 
b/meta-networking/recipes-connectivity/networkmanager/networkmanager_1.46.0.bb
@@ -19,6 +19,7 @@ LIC_FILES_CHKSUM = 
"file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
 "
 
 DEPENDS = " \
+    glib-2.0 \
     python3-pygobject-native \
     coreutils-native \
     intltool-native \
@@ -77,6 +78,7 @@ CFLAGS:append:libc-musl = " \
     -DRTLD_DEEPBIND=0 \
 "
 do_configure:prepend() {
+    cp -f ${STAGING_LIBDIR}/girepository-1.0/GLib*typelib 
${STAGING_LIBDIR_NATIVE}/girepository-1.0/
     cp -f ${STAGING_LIBDIR}/girepository-1.0/GObject*typelib 
${STAGING_LIBDIR_NATIVE}/girepository-1.0/
     cp -f ${STAGING_LIBDIR}/girepository-1.0/Gio*typelib 
${STAGING_LIBDIR_NATIVE}/girepository-1.0/
     cp -f ${STAGING_LIBDIR}/girepository-1.0/GModule*typelib 
${STAGING_LIBDIR_NATIVE}/girepository-1.0/
-- 
2.44.0

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#110203): 
https://lists.openembedded.org/g/openembedded-devel/message/110203
Mute This Topic: https://lists.openembedded.org/mt/105844723/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to