From ba2f3b23c696ef1ba9a73c103d4d851e24c46293 Mon Sep 17 00:00:00 2001 From: Tristan Partin Date: Fri, 28 Jul 2023 14:06:00 -0500 Subject: [PATCH] meson: use to_string() method on integer --- meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meson.build b/meson.build index 49ab73d0..ba3f1cc3 100644 --- a/meson.build +++ b/meson.build @@ -67,7 +67,7 @@ libsystemd_dep = dependency('libsystemd', required: false) config_h = configuration_data() config_h.set_quoted('SYMBOLIC_VERSION', symbolic_version) -config_h.set_quoted('API_VERSION_S', '@0@'.format(libsysprof_api_version)) +config_h.set_quoted('API_VERSION_S', libsysprof_api_version.to_string()) config_h.set_quoted('PACKAGE_NAME', 'sysprof') config_h.set_quoted('PACKAGE_VERSION', meson.project_version()) config_h.set_quoted('PACKAGE_STRING', 'sysprof-' + meson.project_version())