meson: fix static flag summary
PATCH 1/1 meson: fix static flag summary
'static build:' must display value of CONFIG_STATIC rather than value of CONFIG_TOOLS.
--- meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meson.build +1 -1
@@ -1374,7 +1374,7 @@ summary_info += {'gprof enabled': config_host.has_key('CONFIG_GPROF')} summary_info += {'sparse enabled': meson.get_compiler('c').cmd_array().contains('cgcc')} 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_TOOLS')} +summary_info += {'static build': config_host.has_key('CONFIG_STATIC')} if targetos == 'darwin' summary_info += {'Cocoa support': config_host.has_key('CONFIG_COCOA')} endif
Signature · 1 line
2.26.2
Oops. :)
Paolo
Il gio 17 set 2020, 16:07 Laurent Vivier <[email protected]> ha scritto:
Quoted 29 lines
'static build:' must display value of
CONFIG_STATICrather than value ofCONFIG_TOOLS.Signed-off-by Laurent Vivier <[email protected]>--- meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)meson.build +1
-1@@ -1374,7 +1374,7 @@ summary_info += {'gprof enabled': config_host.has_key('CONFIG_GPROF')} summary_info += {'sparse enabled': meson.get_compiler('c').cmd_array().contains('cgcc')} 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_TOOLS')} +summary_info += {'static build':
config_host.has_key('CONFIG_STATIC')}
if targetos == 'darwin'
summary_info+= {'Cocoa support':config_host.has_key('CONFIG_COCOA')}
endif
--
2.26.2
Quoted 14 lines · Laurent Vivier
'static build:' must display value of
CONFIG_STATICrather than value ofCONFIG_TOOLS.Signed-off-by Laurent Vivier <[email protected]>--- meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)meson.build +0
-0
meson.build summary_info += {'gprof enabled': config_host.has_key('CONFIG_GPROF')} · line 1380
Quoted 8 lines
meson.build +1
-1@@ -1374,7 +1374,7 @@ summary_info += {'gprof enabled': config_host.has_key('CONFIG_GPROF')} summary_info += {'sparse enabled': meson.get_compiler('c').cmd_array().contains('cgcc')} 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_TOOLS')} +summary_info += {'static build': config_host.has_key('CONFIG_STATIC')} if targetos == 'darwin' summary_info += {'Cocoa support': config_host.has_key('CONFIG_COCOA')} endif
Laurent Vivier
AppliedLe 17/09/2020 à 16:07, Laurent Vivier a écrit :
Quoted 14 lines
'static build:' must display value of
CONFIG_STATICrather than value ofCONFIG_TOOLS.Signed-off-by Laurent Vivier <[email protected]>--- meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)meson.build +0
-0
meson.build summary_info += {'gprof enabled': config_host.has_key('CONFIG_GPROF')} · line 1380
Quoted 8 lines
meson.build +1
-1@@ -1374,7 +1374,7 @@ summary_info += {'gprof enabled': config_host.has_key('CONFIG_GPROF')} summary_info += {'sparse enabled': meson.get_compiler('c').cmd_array().contains('cgcc')} 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_TOOLS')} +summary_info += {'static build': config_host.has_key('CONFIG_STATIC')} if targetos == 'darwin' summary_info += {'Cocoa support': config_host.has_key('CONFIG_COCOA')} endif
Applied to my trivial-patches branch.
Thanks,
Laurent