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

Roman Bogorodskiy bogorodskiy at gmail.com
Sun Dec 8 06:12:46 UTC 2019


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





More information about the Libosinfo mailing list