]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Meson: Build pdns-sdig
authorFred Morcos <fred.morcos@open-xchange.com>
Sun, 5 Nov 2023 23:28:52 +0000 (00:28 +0100)
committerFred Morcos <fred.morcos@open-xchange.com>
Wed, 20 Mar 2024 12:28:54 +0000 (13:28 +0100)
meson.build
pdns/meson.build

index 648fe7fec49e62ed6c15af917a52e45eb8bf3e34..206f408c8d9ddfe2dea52abd095baf6230fd080f 100644 (file)
@@ -268,3 +268,13 @@ pdns_zone2json = executable(
     libpdns_zone2json,
   ],
 )
+
+if get_option('tools')
+  pdns_sdig = executable(
+    'pdns-sdig',
+    config_h,
+    dependencies: [
+      libpdns_sdig,
+    ],
+  )
+endif
index e4c429d81b4fd0f0d89c4a3f48dd6f56a163cc94..c1570a7a2ad350225b8ee75bb94fcfd58a4fbb87 100644 (file)
@@ -595,3 +595,25 @@ libpdns_zone2json = declare_dependency(
     ],
   )
 )
+
+libpdns_sdig = declare_dependency(
+  link_whole: static_library(
+    'pdns-sdig',
+    'ednsextendederror.cc',
+    'libssl.cc',
+    'sdig.cc',
+    'tcpiohandler.cc',
+    extra_files: [
+      'dolog.hh',
+      'ednsextendederror.hh',
+      'libssl.hh',
+      'sstuff.hh',
+      'tcpiohandler.hh',
+    ],
+    dependencies: [
+      deps,
+      libpdns_common,
+      libpdns_minicurl,
+    ],
+  )
+)