From dccc1ceebc1b3acdb4e716fba2fe55d182aadc05 Mon Sep 17 00:00:00 2001 From: Philip Withnall Date: Fri, 27 May 2022 14:23:09 +0100 Subject: [PATCH] build: Add native argument to add_languages() for objc This fixes the macOS build with Meson 0.54 or later. Signed-off-by: Philip Withnall --- meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meson.build b/meson.build index fd6545cad..8542a8bef 100644 --- a/meson.build +++ b/meson.build @@ -792,7 +792,7 @@ glib_have_os_x_9_or_later = false glib_have_carbon = false glib_have_cocoa = false if host_system == 'darwin' - add_languages('objc') + add_languages('objc', native: false, required: true) objcc = meson.get_compiler('objc') add_project_arguments(objcc.get_supported_arguments(warning_objc_args), language: 'objc')