summaryrefslogtreecommitdiff
path: root/recipes
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-10-30 13:55:23 +0000
commit1051cb94f25dca76d94b40137d485719405b69f8 (patch)
tree8bfb70ab719de4b8ee6517c877877462997a4a8c /recipes
parent139645b869cd8a94e9996b837a26290a08c324e1 (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/1267>
Diffstat (limited to 'recipes')
-rw-r--r--recipes/glib.recipe3
1 files changed, 3 insertions, 0 deletions
diff --git a/recipes/glib.recipe b/recipes/glib.recipe
index 46c22d05..1d4347c0 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('%(libdir)s/glib-2.0/include/*/glibconfig.h')
arch = self.config.target_arch
if arch == Architecture.X86: