networkmanager: remove unnecessary typelib file location workaround.

The workaround introduced in commit
63db9c0d52 is no longer needed.
Typelib
files are now correctly located solely within STAGING_LIBDIR_NATIVE,
aligning with the intended build configuration. Removing the
workaround
avoids the following error during build:

cp: cannot stat '.../GObject*typelib': No such file or directory

Signed-off: Andreas Fenkart <afenkart@gmail.com>
This commit is contained in:
Andreas Fenkart 2025-03-28 15:16:44 +01:00 committed by Khem Raj
parent be22e5976e
commit ed6a77501a
No known key found for this signature in database
GPG Key ID: BB053355919D3314

View File

@ -76,12 +76,6 @@ EXTRA_OEMESON = "\
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/
}
PACKAGECONFIG ??= "readline nss ifupdown dnsmasq nmcli vala \
${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd', bb.utils.contains('DISTRO_FEATURES', 'x11', 'consolekit', '', d), d)} \