]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Meson: Fix when unit-tests-backends is enabled but module-remote isn't
authorFred Morcos <fred.morcos@open-xchange.com>
Thu, 21 Mar 2024 11:16:17 +0000 (12:16 +0100)
committerFred Morcos <fred.morcos@open-xchange.com>
Thu, 21 Mar 2024 11:16:17 +0000 (12:16 +0100)
meson.build

index 3c860086e64900c495df5de15e08da757da43f40..780e28df6953bd57b068bc19b1ccc527b8c3ee58 100644 (file)
@@ -934,7 +934,7 @@ if get_option('unit-tests')
   )
 endif
 
-if get_option('unit-tests-backends')
+if get_option('module-remote') != 'disabled' and get_option('unit-tests-backends')
   libpdns_module_remotebackend_test_common = declare_dependency(
     link_whole: static_library(
       'pdns-test-remotebackend',