[libvirt] [PATCH 21/35] tests: Makefile: Sanitize entry for qemublocktest

Peter Krempa pkrempa at redhat.com
Wed Apr 25 15:15:29 UTC 2018


Remove gnulib from _LDADD and move LDADDS to replace it. Also reformat
the _SOURCES so that they can be easily extended.

Signed-off-by: Peter Krempa <pkrempa at redhat.com>
---
 tests/Makefile.am | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/tests/Makefile.am b/tests/Makefile.am
index 7b93fbde69..67850349de 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -655,12 +655,14 @@ qemuhotplugtest_SOURCES = \
 qemuhotplugtest_LDADD = libqemumonitortestutils.la $(qemu_LDADDS) $(LDADDS)

 qemublocktest_SOURCES = \
-	qemublocktest.c testutils.h testutils.c
-qemublocktest_LDADD = $(LDADDS) \
+	qemublocktest.c \
+	testutils.h testutils.c \
+	$(NULL)
+qemublocktest_LDADD = \
 	../src/libvirt_conf.la \
 	../src/libvirt_util.la \
 	$(qemu_LDADDS) \
-	../gnulib/lib/libgnu.la \
+	$(LDADDS) \
 	$(NULL)

 domainsnapshotxml2xmltest_SOURCES = \
-- 
2.16.2




More information about the libvir-list mailing list