From e9dae3eeb989256398fbfd6db9686d98ebe873fd Mon Sep 17 00:00:00 2001 From: "L. E. Segovia" Date: Thu, 7 Sep 2023 18:02:33 +0000 Subject: glib: Work around AppleClang + -werror test build failure See: https://gitlab.gnome.org/GNOME/glib/-/issues/2902 Part-of: --- recipes/glib.recipe | 3 +++ 1 file changed, 3 insertions(+) diff --git a/recipes/glib.recipe b/recipes/glib.recipe index ac38508a..b0801f38 100644 --- a/recipes/glib.recipe +++ b/recipes/glib.recipe @@ -181,6 +181,9 @@ class Recipe(recipe.Recipe): 'glib/uwp/0025-meson-Add-workaround-for-Visual-Studio-2019-ARM-buil.patch', ] elif self.config.target_platform in [Platform.DARWIN, Platform.IOS]: + # https://gitlab.gnome.org/GNOME/glib/-/issues/2902 + self.meson_options.update({'tests': 'false'}) + self.files_devel.append(os.path.join('lib', 'glib-2.0', 'include', '*', 'glibconfig.h')) arch = self.config.target_arch if arch == Architecture.X86: -- cgit v1.2.3