mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-03 01:36:17 +01:00
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 <pwithnall@endlessos.org>
This commit is contained in:
parent
d7c3b0fbf2
commit
dccc1ceebc
@ -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')
|
||||
|
Loading…
Reference in New Issue
Block a user