From b55dc0b1e61638606321dd59a619d471b33b1f43 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Holger=20Hoffst=C3=A4tte?= Date: Fri, 30 Jan 2026 17:21:50 +0100 Subject: [PATCH] dnsdist: Only install dnsdist.yml-dist if yaml support was enabled MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Holger Hoffstätte --- pdns/dnsdistdist/meson.build | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) 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( -- 2.47.3