[glib: 1/2] meson: Exclude gosxutils.m when building for iOS
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib: 1/2] meson: Exclude gosxutils.m when building for iOS
- Date: Mon, 4 May 2020 10:23:13 +0000 (UTC)
commit dcd15a10d2723701616e08166b151e3cb0c7de5a
Author: disigma <yang yu disigma org>
Date: Wed Apr 1 14:32:26 2020 +0800
meson: Exclude gosxutils.m when building for iOS
For ios, the Cocoa header file does not exist, which causes compilation errors
glib/meson.build | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/glib/meson.build b/glib/meson.build
index aaf5f00f5..cf836b6c7 100644
--- a/glib/meson.build
+++ b/glib/meson.build
@@ -316,7 +316,7 @@ else
platform_deps = []
endif
-if host_system == 'darwin'
+if glib_have_cocoa
glib_sources += files('gosxutils.m')
endif
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]