mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-21 21:25:25 +00:00
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 <pkrempa@redhat.com> Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
This commit is contained in:
parent
ae6a89884a
commit
20acd5b1be
@ -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'
|
||||
|
Loading…
Reference in New Issue
Block a user