]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
dnsdist: Only install dnsdist.yml-dist if yaml support was enabled 16798/head
authorHolger Hoffstätte <holger@applied-asynchrony.com>
Fri, 30 Jan 2026 16:21:50 +0000 (17:21 +0100)
committerHolger Hoffstätte <holger@applied-asynchrony.com>
Fri, 30 Jan 2026 16:21:50 +0000 (17:21 +0100)
Signed-off-by: Holger Hoffstätte <holger@applied-asynchrony.com>
pdns/dnsdistdist/meson.build

index 9c512a2f7a82dd813e0c11945498710b18522f1a..42ea5240176bfd737994a04458a7a3646539878a 100644 (file)
@@ -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(