]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
auth: Actually install binaries when building with meson
authorRemi Gacogne <remi.gacogne@powerdns.com>
Fri, 19 Dec 2025 16:02:45 +0000 (17:02 +0100)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Fri, 19 Dec 2025 16:02:45 +0000 (17:02 +0100)
Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
meson.build

index 55c9dc5f88777ebae803461b217d09a5cf09fd4a..a571fb2ca1fe0711e9a3f9b56afe654559c7d3d5 100644 (file)
@@ -910,7 +910,6 @@ if get_option('unit-tests')
   )
 
   tools += {
-    # TODO: NOINSTALL speedtest and pdns-auth-testrunner
     'pdns-auth-testrunner': {
       'main': src_dir / 'testrunner.cc',
       'deps-extra': [
@@ -918,12 +917,15 @@ if get_option('unit-tests')
         libpdns_signers_openssl,
         libpdns_signers_sodium,
       ],
+      'install': false,
     },
     'speedtest': {
       'main': src_dir / 'speedtest.cc',
+      'install': false,
     },
     'tsig-tests': {
       'main': src_dir / 'tsig-tests.cc',
+      'install': false,
     },
   }
 endif
@@ -952,7 +954,9 @@ if get_option('fuzz-targets')
     tools += {
       'fuzz-target-' + target: { 'main': source_file,
                                  'link-args': fuzzer_ldflags,
-                                 'files-extra': fuzz_extra_sources }
+                                 'files-extra': fuzz_extra_sources,
+                                 'install': false,
+       }
     }
   endforeach
 endif
@@ -981,6 +985,7 @@ foreach tool, info: tools
   files_extra = 'files-extra' in info ? info['files-extra'] : []
   deps_extra = 'deps-extra' in info ? info['deps-extra'] : []
   link_args = 'link-args' in info ? info['link-args'] : []
+  install = 'install' in info ? info['install'] : true
 
   set_variable(
     var_name,
@@ -997,6 +1002,7 @@ foreach tool, info: tools
         libpdns_uuidutils,
         deps_extra,
       ],
+      install: install,
     )
   )