From 0b25f76438514250640aa7e4118cbfb58310bd44 Mon Sep 17 00:00:00 2001 From: Fred Morcos Date: Sun, 5 Nov 2023 20:52:43 +0100 Subject: [PATCH] Meson: Build pdns-zone2json --- meson.build | 8 ++++++++ pdns/meson.build | 14 ++++++++++++++ 2 files changed, 22 insertions(+) diff --git a/meson.build b/meson.build index b690935078..97e3a7401b 100644 --- a/meson.build +++ b/meson.build @@ -262,3 +262,11 @@ if get_option('module-ldap') != 'disabled' ], ) endif + +pdns_zone2json = executable( + 'pdns-zone2json', + config_h, + dependencies: [ + libpdns_zone2json, + ], +) diff --git a/pdns/meson.build b/pdns/meson.build index 28f9c7e74f..a7633b2c7e 100644 --- a/pdns/meson.build +++ b/pdns/meson.build @@ -562,3 +562,17 @@ libpdns_zone2ldap = declare_dependency( ], ) ) + +libpdns_zone2json = declare_dependency( + link_whole: static_library( + 'pdns-zone2json', + 'zone2json.cc', + extra_files: [], + dependencies: [ + deps, + libpdns_common, + libpdns_bind_dnssec_schema, + libpdns_bind_parser, + ], + ) +) -- 2.47.3