[PATCH] tests: Don't build securityselinuxlabeltest without qemu

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

 



Sources for securityselinuxlabeltest are only defined if qemu driver is
enabled so we should not try to build the test if qemu driver is
disabled.
---
 tests/Makefile.am | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tests/Makefile.am b/tests/Makefile.am
index 9da0b4a..0194db2 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -108,10 +108,12 @@ endif
 
 if WITH_SECDRIVER_SELINUX
 test_programs += securityselinuxtest
+if WITH_QEMU
 if WITH_ATTR
 test_programs += securityselinuxlabeltest
 endif
 endif
+endif
 
 if WITH_DRIVER_MODULES
 test_programs += virdrivermoduletest
-- 
1.8.1.2

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list


[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]