[libvirt] [PATCH] virtlogd: Fix build without DBus

Martin Kletzander mkletzan at redhat.com
Fri Nov 27 11:19:11 UTC 2015


Signed-off-by: Martin Kletzander <mkletzan at redhat.com>
---
 tests/Makefile.am | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/tests/Makefile.am b/tests/Makefile.am
index b449286f1fb3..e2fb3b7f3b67 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -172,7 +172,6 @@ test_programs = virshtest sockettest \
 	virkeycodetest \
 	virlockspacetest \
 	virlogtest \
-	virrotatingfiletest \
 	virstringtest \
 	virportallocatortest \
 	sysinfotest \
@@ -210,6 +209,7 @@ endif WITH_LIBVIRTD
 if WITH_DBUS
 test_programs += virdbustest \
                  virsystemdtest \
+                 virrotatingfiletest \
                  $(NULL)
 if WITH_POLKIT1
 test_programs += virpolkittest
@@ -1112,7 +1112,9 @@ virsystemdtest_CFLAGS = $(AM_CFLAGS) $(DBUS_CFLAGS)
 virsystemdtest_LDADD = $(LDADDS) $(DBUS_LIBS)

 else ! WITH_DBUS
-EXTRA_DIST += virdbustest.c virmockdbus.c virsystemdtest.c
+EXTRA_DIST += \
+	virdbustest.c virmockdbus.c \
+	virsystemdtest.c virrotatingfiletest.c
 endif ! WITH_DBUS

 viruritest_SOURCES = \
-- 
2.6.3




More information about the libvir-list mailing list