meson: fix static flag summary
authorLaurent Vivier <lvivier@redhat.com>
Thu, 17 Sep 2020 14:07:00 +0000 (16:07 +0200)
committerLaurent Vivier <laurent@vivier.eu>
Wed, 23 Sep 2020 17:07:03 +0000 (19:07 +0200)
'static build:' must display value of CONFIG_STATIC rather than value of
CONFIG_TOOLS.

Signed-off-by: Laurent Vivier <lvivier@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20200917140700.673171-1-lvivier@redhat.com>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
meson.build

index f4d1ab10968001eb8b4575c7139e939580b5faff..b26c8bffc6fe074f05048f2424ec0ce9e6ab5453 100644 (file)
@@ -1368,7 +1368,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