summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorL. E. Segovia <amy@centricular.com>2023-09-07 18:02:33 +0000
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>2023-11-03 14:00:17 +0000
commite9dae3eeb989256398fbfd6db9686d98ebe873fd (patch)
treecaf6aa1b78ef4547dbbaaf5a2ed083ee8fa0a58d
parent6e352561ed6b6bb698ddf695f842fec9e5c3fb4d (diff)
glib: Work around AppleClang + -werror test build failure
See: https://gitlab.gnome.org/GNOME/glib/-/issues/2902 Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/1294>
-rw-r--r--recipes/glib.recipe3
1 files changed, 3 insertions, 0 deletions
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: