meson: fix Cocoa option in summary
PATCH 1/1 meson: fix Cocoa option in summary
From: Chris Hofstaedtler <[email protected]>
Regression introduced in f9332757898.
Signed-off-by Chris Hofstaedtler <[email protected]>
--- meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meson.build +1 -1
@@ -2112,7 +2112,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': config_host_data.get('CONFIG_COCOA', false)} endif # TODO: add back version summary_info += {'SDL support': sdl.found()}
Signature · 1 line
2.29.2
Hi Chris,
Quoted 3 lines · Chris Hofstaedtler
From: Chris Hofstaedtler <[email protected]>
Regression introduced in
f9332757898.
Isn't it commit b4e312e953b? If so you could add:
Fixes b4e312e953b ("configure: move cocoa option to Meson")
Quoted 19 lines
Signed-off-by Chris Hofstaedtler <[email protected]>--- meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)meson.build +1
-1@@ -2112,7 +2112,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': config_host_data.get('CONFIG_COCOA', false)} endif # TODO: add back version summary_info += {'SDL support': sdl.found()}