]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
tests(dnsdist): don't use intermediate static library for benchmarks
authorPieter Lexis <pieter.lexis@powerdns.com>
Wed, 22 Oct 2025 11:14:41 +0000 (13:14 +0200)
committerPieter Lexis <pieter.lexis@powerdns.com>
Wed, 7 Jan 2026 12:16:20 +0000 (13:16 +0100)
pdns/dnsdistdist/meson.build

index 1819746eb7df7992fbafd2143d8dea5bd03090fa..300c7a62a1be3ff86df49bc8fd3e88b02db443a7 100644 (file)
@@ -601,25 +601,17 @@ benchmark_sources += files(
 )
 
 if get_option('benchmark')
-  libdnsdist_benchmark = declare_dependency(
-    link_whole: static_library(
-      'dnsdist-benchmark',
-      config_h,
-      benchmark_sources,
-      dependencies: [
-          dep_catch2,
-          dep_protozero,
-      ],
-    )
-  )
-
   tools += {
     'benchmarkrunner' : {
       'main': [
         src_dir / 'benchmarkrunner.cc',
       ],
-        'deps-extra': [
-          libdnsdist_benchmark,
+      'files-extra': [
+        benchmark_sources,
+      ],
+      'deps-extra': [
+        dep_catch2,
+        dep_protozero,
       ],
     }
   }