meson: Exclude gosxutils.m when building for iOS

For ios, the Cocoa header file does not exist, which causes compilation errors
This commit is contained in:
disigma 2020-04-01 14:32:26 +08:00 committed by GitHub
parent 50355361e6
commit dcd15a10d2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -316,7 +316,7 @@ else
platform_deps = []
endif
if host_system == 'darwin'
if glib_have_cocoa
glib_sources += files('gosxutils.m')
endif