]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Meson: Create a variable for every tool built
authorFred Morcos <fred.morcos@open-xchange.com>
Wed, 22 Nov 2023 13:27:12 +0000 (14:27 +0100)
committerFred Morcos <fred.morcos@open-xchange.com>
Wed, 20 Mar 2024 12:28:57 +0000 (13:28 +0100)
meson.build

index 9f71f45c97c6f44738e55c5649bff668d4c208fe..4d7b4e568b4ab960b870aca6960664bfcee97fb7 100644 (file)
@@ -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