[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] meson: fix static flag summary
From: |
Philippe Mathieu-Daudé |
Subject: |
Re: [PATCH] meson: fix static flag summary |
Date: |
Thu, 17 Sep 2020 16:43:01 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.11.0 |
On 9/17/20 4:07 PM, Laurent Vivier wrote:
> 'static build:' must display value of CONFIG_STATIC rather than value of
> CONFIG_TOOLS.
>
> Signed-off-by: Laurent Vivier <lvivier@redhat.com>
> ---
> meson.build | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/meson.build b/meson.build
> index 5421eca66a02..c174f0ab0948 100644
> --- a/meson.build
> +++ b/meson.build
> @@ -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
>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>