From 39949b201954a37efc345acebf49187ad89c982b Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN" Date: Mon, 20 Jan 2025 22:17:04 +0100 Subject: [PATCH] package/gobject-introspection: works with musl now Current versions of gobject-introspection build with musl (Alpine dropped the last compatibility patch with the update to 1.80.1 [0]), so relax the dependency on glibc. [0] https://gitlab.alpinelinux.org/alpine/aports/-/commit/528c4ee63970fe6ee733b6ea99ef7a59a8f108ff Signed-off-by: Fiona Klute (WIWA) [yann.morin.1998@free.fr: split off to its own patch] Signed-off-by: Yann E. MORIN Signed-off-by: Thomas Petazzoni --- package/gobject-introspection/Config.in | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package/gobject-introspection/Config.in b/package/gobject-introspection/Config.in index 7b47c9561e..54a33d8666 100644 --- a/package/gobject-introspection/Config.in +++ b/package/gobject-introspection/Config.in @@ -19,7 +19,7 @@ config BR2_PACKAGE_GOBJECT_INTROSPECTION # can be verified. depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 depends on BR2_HOST_GCC_AT_LEAST_8 # host-qemu - depends on BR2_TOOLCHAIN_USES_GLIBC + depends on BR2_TOOLCHAIN_USES_GLIBC || BR2_TOOLCHAIN_USES_MUSL # gobject-introspection does not require python3 to run on the # target; however, because the tools run in a qemu wrapper, a # cross-compiled python3 must be installed to staging. As there @@ -48,9 +48,9 @@ comment "gobject-introspection needs python3" depends on !BR2_PACKAGE_PYTHON3 depends on BR2_PACKAGE_GOBJECT_INTROSPECTION_ARCH_SUPPORTS -comment "gobject-introspection needs a glibc toolchain, gcc >= 4.9, host gcc >= 8" +comment "gobject-introspection needs a glibc or musl toolchain, gcc >= 4.9, host gcc >= 8" depends on BR2_USE_MMU depends on BR2_PACKAGE_GOBJECT_INTROSPECTION_ARCH_SUPPORTS - depends on !BR2_TOOLCHAIN_USES_GLIBC || \ + depends on !(BR2_TOOLCHAIN_USES_GLIBC || BR2_TOOLCHAIN_USES_MUSL) || \ !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 || \ !BR2_HOST_GCC_AT_LEAST_8