From: "Daniel P. Berrange" <berrange@xxxxxxxxxx> Only compile storagevolxml2argvtest if WITH_STORAGE is set, because it links to that driver Signed-off-by: Daniel P. Berrange <berrange@xxxxxxxxxx> Pushed as a Win32 build breaker fix --- tests/Makefile.am | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tests/Makefile.am b/tests/Makefile.am index 888968d..7689453 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -174,7 +174,9 @@ endif test_programs += nwfilterxml2xmltest +if WITH_STORAGE test_programs += storagevolxml2argvtest +endif test_programs += storagevolxml2xmltest storagepoolxml2xmltest @@ -472,11 +474,15 @@ nwfilterxml2xmltest_SOURCES = \ testutils.c testutils.h nwfilterxml2xmltest_LDADD = $(LDADDS) +if WITH_STORAGE storagevolxml2argvtest_SOURCES = \ storagevolxml2argvtest.c \ testutils.c testutils.h storagevolxml2argvtest_LDADD = \ ../src/libvirt_driver_storage_impl.la $(LDADDS) +else +EXTRA_DIST += storagevolxml2argvtest.c +endif storagevolxml2xmltest_SOURCES = \ storagevolxml2xmltest.c \ -- 1.8.1.4 -- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list