[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PULL 08/20] meson: fix Cocoa option in summary

From: Paolo Bonzini
Subject: [PULL 08/20] meson: fix Cocoa option in summary
Date: Tue, 12 Jan 2021 18:14:38 +0100

From: Chris Hofstaedtler <chris@hofstaedtler.name>

Cocoa support was always shown as "no", even it if was enabled.

Fixes: b4e312e953b ("configure: move cocoa option to Meson")
Cc: Paolo Bonzini <pbonzini@redhat.com>
Cc: Peter Maydell <peter.maydell@linaro.org>
Cc: Philippe Mathieu-Daudé <philmd@redhat.com>
Signed-off-by: Chris Hofstaedtler <chris@hofstaedtler.name>
Message-Id: <20201230221623.60423-1-chris@hofstaedtler.name>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
 meson.build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meson.build b/meson.build
index e4db67ccf2..bd4ff3118b 100644
--- a/meson.build
+++ b/meson.build
@@ -2330,7 +2330,7 @@ summary_info += {'profiler':          
 summary_info += {'link-time optimization (LTO)': get_option('b_lto')}
 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()}
 # TODO: add back version
 summary_info += {'SDL support':       sdl.found()}

reply via email to

[Prev in Thread] Current Thread [Next in Thread]