From 764ed8b91632276bc0d77461a62316b3bcb0cccf Mon Sep 17 00:00:00 2001 From: Joaquim Monteiro Date: Fri, 29 Mar 2024 00:11:13 +0000 Subject: meson: Fix broken str.format usage str.format used to allow any type as an argument, which often resulted in using an internal string representation. This is considered broken behavior, and is deprecated since Meson 1.3.0. Signed-off-by: Joaquim Monteiro --- meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meson.build b/meson.build index 1a7dbbe4..b961b661 100644 --- a/meson.build +++ b/meson.build @@ -235,7 +235,7 @@ config_file = configure_file( configuration : config, output : 'config.h', ) -add_project_arguments('-include', '@0@'.format(config_file), language : 'c') +add_project_arguments('-include', meson.current_build_dir() / 'config.h', language : 'c') inc_root = include_directories('.') inc_drm = include_directories('include/drm') -- cgit v1.2.3