diff options
author | Joaquim Monteiro <joaquim.monteiro@protonmail.com> | 2024-03-29 00:11:13 +0000 |
---|---|---|
committer | Joaquim Monteiro <joaquim.monteiro@protonmail.com> | 2024-03-29 10:24:22 +0000 |
commit | 764ed8b91632276bc0d77461a62316b3bcb0cccf (patch) | |
tree | 584e0b07d0ca0d03fdb7acf5fc1639a705809f47 | |
parent | fbb83f74d69086d59acb33a21e7d4f204d341877 (diff) |
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 <joaquim.monteiro@protonmail.com>
-rw-r--r-- | meson.build | 2 |
1 files changed, 1 insertions, 1 deletions
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') |