From: Fred Morcos Date: Wed, 22 Nov 2023 13:27:12 +0000 (+0100) Subject: Meson: Create a variable for every tool built X-Git-Tag: rec-5.1.0-alpha1~80^2~43 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=68867bd2d1444ff3a49ad76e047a6c2deb7e826b;p=thirdparty%2Fpdns.git Meson: Create a variable for every tool built --- 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