--- meson.build.orig 2024-11-04 00:39:32.000000000 +0800 +++ meson.build 2024-11-07 19:28:37.000000000 +0800 @@ -245,12 +245,12 @@ if os_osx add_languages('objc') - osx_ldflags = ['-Wl,-framework,Foundation', '-Wl,-framework,AppKit', '-ObjC'] + osx_ldflags = ['-Wl,-framework,Foundation', '-Wl,-framework,AppKit'] add_project_link_arguments(osx_ldflags, language : ['objc', 'c']) endif if os_osx - add_project_arguments('-ObjC', language : 'c') + add_project_arguments('-xobjective-c', language : 'c') endif ################################################################################