From: Fred Morcos Date: Sun, 5 Nov 2023 23:28:52 +0000 (+0100) Subject: Meson: Build pdns-sdig X-Git-Tag: rec-5.1.0-alpha1~80^2~71 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=47bbdc4a9a6dc264c858589ae98aed9614cbe489;p=thirdparty%2Fpdns.git Meson: Build pdns-sdig --- diff --git a/meson.build b/meson.build index 648fe7fec4..206f408c8d 100644 --- a/meson.build +++ b/meson.build @@ -268,3 +268,13 @@ pdns_zone2json = executable( libpdns_zone2json, ], ) + +if get_option('tools') + pdns_sdig = executable( + 'pdns-sdig', + config_h, + dependencies: [ + libpdns_sdig, + ], + ) +endif diff --git a/pdns/meson.build b/pdns/meson.build index e4c429d81b..c1570a7a2a 100644 --- a/pdns/meson.build +++ b/pdns/meson.build @@ -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, + ], + ) +)