From 68867bd2d1444ff3a49ad76e047a6c2deb7e826b Mon Sep 17 00:00:00 2001 From: Fred Morcos Date: Wed, 22 Nov 2023 14:27:12 +0100 Subject: [PATCH] Meson: Create a variable for every tool built --- meson.build | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/meson.build b/meson.build index 9f71f45c97..4d7b4e568b 100644 --- a/meson.build +++ b/meson.build @@ -277,9 +277,12 @@ if get_option('fuzz-targets') endif foreach tool: tools - executable( - tool, - sources: [config_h], - dependencies: [get_variable('lib' + tool.underscorify())], + set_variable( + tool.underscorify(), + executable( + tool, + sources: [config_h], + dependencies: [get_variable('lib' + tool.underscorify())], + ) ) endforeach -- 2.47.2