Created
January 21, 2021 18:57
-
-
Save ziyi-yan/b36e3fbf368fab037cfea8fa18a2fdec to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From 9a07c6b757418b169bd983705231b4f16e2b671a Mon Sep 17 00:00:00 2001 | |
From: Ziyi Yan <ziyi.yan@foxmail.com> | |
Date: Fri, 22 Jan 2021 02:56:47 +0800 | |
Subject: [PATCH 2/2] fix cocoa | |
This patch is based on https://github.com/zeha/qemu/commit/5a1b1c113e2a630dd2a4e9c785326365979cafe6 | |
--- | |
meson.build | 2 +- | |
1 file changed, 1 insertion(+), 1 deletion(-) | |
diff --git a/meson.build b/meson.build | |
index f5ea9ee..d6bf40d 100644 | |
--- a/meson.build | |
+++ b/meson.build | |
@@ -2046,7 +2046,7 @@ summary_info += {'strip binaries': get_option('strip')} | |
summary_info += {'profiler': config_host.has_key('CONFIG_PROFILER')} | |
summary_info += {'static build': config_host.has_key('CONFIG_STATIC')} | |
if targetos == 'darwin' | |
- summary_info += {'Cocoa support': config_host.has_key('CONFIG_COCOA')} | |
+ summary_info += {'Cocoa support': cocoa.found()} | |
endif | |
# TODO: add back version | |
summary_info += {'SDL support': sdl.found()} | |
-- | |
2.24.3 (Apple Git-128) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment