From: Holger Hoffstätte Date: Fri, 30 Jan 2026 16:21:50 +0000 (+0100) Subject: dnsdist: Only install dnsdist.yml-dist if yaml support was enabled X-Git-Tag: rec-5.5.0-alpha0~45^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F16798%2Fhead;p=thirdparty%2Fpdns.git dnsdist: Only install dnsdist.yml-dist if yaml support was enabled Signed-off-by: Holger Hoffstätte --- diff --git a/pdns/dnsdistdist/meson.build b/pdns/dnsdistdist/meson.build index 9c512a2f7a..42ea524017 100644 --- a/pdns/dnsdistdist/meson.build +++ b/pdns/dnsdistdist/meson.build @@ -819,11 +819,14 @@ install_data( install_dir : get_option('sysconfdir'), follow_symlinks: true ) -install_data( - 'dnsdist.yml-dist', - install_dir : get_option('sysconfdir'), - follow_symlinks: true -) + +if get_option('yaml').enabled() + install_data( + 'dnsdist.yml-dist', + install_dir : get_option('sysconfdir'), + follow_symlinks: true + ) +endif if python_venv.found() html_docs = custom_target(