From 32be09b48e6e355c054d7e308aa5d3e2b58f8c40 Mon Sep 17 00:00:00 2001 From: "Fiona Klute (WIWA)" Date: Mon, 20 Jan 2025 22:17:05 +0100 Subject: [PATCH] package/python-gobject: allow build with musl Current gobject-introspection releases (>= 1.80.1) work with musl, so relax the C library requirement for python-gobject to match. Signed-off-by: Fiona Klute (WIWA) Signed-off-by: Thomas Petazzoni --- package/python-gobject/Config.in | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package/python-gobject/Config.in b/package/python-gobject/Config.in index 3354535637..f5d4cebe31 100644 --- a/package/python-gobject/Config.in +++ b/package/python-gobject/Config.in @@ -4,7 +4,7 @@ config BR2_PACKAGE_PYTHON_GOBJECT depends on BR2_PACKAGE_GOBJECT_INTROSPECTION_ARCH_SUPPORTS # gobject-introspection depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # gobject-introspection depends on BR2_HOST_GCC_AT_LEAST_8 # gobject-introspection -> host-qemu - depends on BR2_TOOLCHAIN_USES_GLIBC # gobject-introspection + depends on BR2_TOOLCHAIN_USES_GLIBC || BR2_TOOLCHAIN_USES_MUSL # gobject-introspection select BR2_PACKAGE_GOBJECT_INTROSPECTION select BR2_PACKAGE_LIBGLIB2 help @@ -12,9 +12,9 @@ config BR2_PACKAGE_PYTHON_GOBJECT https://wiki.gnome.org/action/show/Projects/PyGObject -comment "python-gobject needs a glibc toolchain, gcc >= 4.9, host gcc >= 8" +comment "python-gobject 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