[Libosinfo] [osinfo-db-tools PATCH 2/2] meson: fix GETTEXT_PACKAGE formatting

Fabiano Fidêncio fidencio at redhat.com
Sun Dec 8 09:54:51 UTC 2019


On Sun, Dec 8, 2019 at 7:13 AM Roman Bogorodskiy <bogorodskiy at gmail.com> wrote:
>
> Properly specify placeholder value to get it replaced.
>
> Signed-off-by: Roman Bogorodskiy <bogorodskiy at gmail.com>
> ---
>  meson.build | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/meson.build b/meson.build
> index 663b6da..96eb9ae 100644
> --- a/meson.build
> +++ b/meson.build
> @@ -76,7 +76,7 @@ osinfo_db_tools_cflags += [
>  ]
>
>  #  gettext package name
> -osinfo_db_tools_cflags += ['-DGETTEXT_PACKAGE="0"'.format(meson.project_name())]
> +osinfo_db_tools_cflags += ['-DGETTEXT_PACKAGE="@0@"'.format(meson.project_name())]
>
>  #  cflags to check whether the compiler supports them or not
>  osinfo_db_tools_check_cflags = [
> --
> 2.23.0
>
>
> _______________________________________________
> Libosinfo mailing list
> Libosinfo at redhat.com
> https://www.redhat.com/mailman/listinfo/libosinfo
>

Reviewed-by: Fabiano Fidêncio <fidencio at redhat.com>





More information about the Libosinfo mailing list