]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
dnsdist: Always process `dnsdist-rust-lib/meson.build`
authorRemi Gacogne <remi.gacogne@powerdns.com>
Mon, 2 Jun 2025 13:48:02 +0000 (15:48 +0200)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Thu, 5 Jun 2025 14:11:51 +0000 (16:11 +0200)
Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
pdns/dnsdistdist/dnsdist-rust-lib/meson.build
pdns/dnsdistdist/meson.build

index 9fa0657b4caafbd54a2dec2913079626b389fd7f..9abacc7dd4ad427e64404f41ef1ccf2c1ea84146 100644 (file)
@@ -24,4 +24,8 @@ dep_rust_lib = declare_dependency(
   include_directories: [include_directories('.'), ]
 )
 
-subdir('rust')
+if get_option('yaml').allowed()
+  subdir('rust')
+else
+  dep_dnsdist_rust_lib = declare_dependency()
+endif
index 168ca2c7b9ad2df69f1ec5acc7e823803c2996e3..e8e229feffeaa694f8c5a4c6f725d57340cc8e6a 100644 (file)
@@ -107,12 +107,10 @@ else
   dep_lmdb_safe = declare_dependency()
 endif
 
+subdir('dnsdist-rust-lib')
+
 if get_option('yaml').allowed()
-  subdir('dnsdist-rust-lib')
   subdir('meson' / 'dlopen') # our Rust static library needs dlopen
-else
-  dep_dnsdist_rust_lib = declare_dependency()
-  dep_dlopen = declare_dependency()
 endif
 
 common_sources += files(