--- meson.build.orig 2026-03-23 09:54:26.000000000 +0800 +++ meson.build 2026-05-06 20:20:59.000000000 +0800 @@ -346,18 +346,8 @@ if host_system == 'darwin' and subsystem == 'macos' # for viewer-cocoa.m add_languages('objc', native : false) - - has_core_text = cc.links('''#include - int main (void) { - CTGetCoreTextVersion (); - return 0; - }''', - name: 'CoreText availability', - dependencies: dependency('appleframeworks', modules: 'ApplicationServices')) - if has_core_text - pango_conf.set('HAVE_CORE_TEXT', 1) - endif - + has_core_text = true + pango_conf.set('HAVE_CORE_TEXT', 1) pango_deps += dependency('appleframeworks', modules: [ 'CoreFoundation', 'ApplicationServices' ]) endif