diff options
author | Markus Volk <f_l_k@t-online.de> | 2024-04-30 08:47:21 +0200 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2024-04-30 08:20:34 -0700 |
commit | 43d20c156a448bb7e56cdcb9ab70b429559620c4 (patch) | |
tree | 86b892b8f6762436169456d9a6b7e4fdd281748c /meta-networking | |
parent | 4fc97fe6027acf5c896b722be49742f4a139e5c1 (diff) | |
download | meta-openembedded-43d20c156a448bb7e56cdcb9ab70b429559620c4.tar.gz |
networkmanager: fix gir build
Basically what is done in:
https://git.openembedded.org/meta-openembedded/commit/?h=master-next&id=4c40897893f43a99e6ae12e652c0cf789d89df90
This fixes:
| gi.RepositoryError: Typelib file for namespace 'Gobject', version '2.0' not found
| gi.RepositoryError: Typelib file for namespace 'Gio', version '2.0' not found
| gi.RepositoryError: Typelib file for namespace 'GModule', version '2.0' not found
- Remove uneeded do_compile:prepend. It was broken because of {B}} and seems to be unneeded anyway
Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-networking')
-rw-r--r-- | meta-networking/recipes-connectivity/networkmanager/networkmanager_1.46.0.bb | 7 |
1 files changed, 4 insertions, 3 deletions
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 be30154a3..8184fcf1a 100644 --- a/meta-networking/recipes-connectivity/networkmanager/networkmanager_1.46.0.bb +++ b/meta-networking/recipes-connectivity/networkmanager/networkmanager_1.46.0.bb | |||
@@ -76,9 +76,10 @@ EXTRA_OEMESON = "\ | |||
76 | CFLAGS:append:libc-musl = " \ | 76 | CFLAGS:append:libc-musl = " \ |
77 | -DRTLD_DEEPBIND=0 \ | 77 | -DRTLD_DEEPBIND=0 \ |
78 | " | 78 | " |
79 | 79 | do_configure:prepend() { | |
80 | do_compile:prepend() { | 80 | cp -f ${STAGING_LIBDIR}/girepository-1.0/GObject*typelib ${STAGING_LIBDIR_NATIVE}/girepository-1.0/ |
81 | export GI_TYPELIB_PATH="${B}}/src/libnm-client-impl${GI_TYPELIB_PATH:+:$GI_TYPELIB_PATH}" | 81 | cp -f ${STAGING_LIBDIR}/girepository-1.0/Gio*typelib ${STAGING_LIBDIR_NATIVE}/girepository-1.0/ |
82 | cp -f ${STAGING_LIBDIR}/girepository-1.0/GModule*typelib ${STAGING_LIBDIR_NATIVE}/girepository-1.0/ | ||
82 | } | 83 | } |
83 | 84 | ||
84 | PACKAGECONFIG ??= "readline nss ifupdown dnsmasq nmcli vala \ | 85 | PACKAGECONFIG ??= "readline nss ifupdown dnsmasq nmcli vala \ |