From: Daniel P. Berrangé Date: Tue, 7 May 2024 09:38:59 +0000 (+0100) Subject: scripts/rpcgen: skip tests if tirpc is not present X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=20acd5b1beddaa77c9d0da1917940eeceb98e470;p=libvirt.git scripts/rpcgen: skip tests if tirpc is not present This skips building tests which rely on tirpc when it is not present. Reviewed-by: Peter Krempa Signed-off-by: Daniel P. Berrangé --- diff --git a/scripts/rpcgen/meson.build b/scripts/rpcgen/meson.build index 7fb32c0f91..bce652c7ad 100644 --- a/scripts/rpcgen/meson.build +++ b/scripts/rpcgen/meson.build @@ -1,6 +1,6 @@ subdir('rpcgen') -if tests_enabled[0] +if tests_enabled[0] and xdr_dep.found() subdir('tests') if pytest_prog.found() and host_machine.system() != 'darwin'