[PATCH 01/12] scripts/rpcgen: skip tests if tirpc is not present

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This skips building tests which rely on tirpc when it is not
present.

Signed-off-by: Daniel P. Berrangé <berrange@xxxxxxxxxx>
---
 scripts/rpcgen/meson.build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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'
-- 
2.43.0
_______________________________________________
Devel mailing list -- devel@xxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxx




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux