From ed1b5d8e8dc0e80438613896fc3d50c9c3e0c2f8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Guido=20G=C3=BCnther?= Date: Mon, 7 Apr 2014 09:57:11 +0200 Subject: [PATCH] tests: link against libxml2 to avoid CCLD storagevolxml2argvtest /usr/bin/ld: ../src/.libs/libvirt_driver_storage_impl.a(libvirt_driver_storage_impl_la-storage_backend.o): undefined reference to symbol 'xmlFreeDoc@@LIBXML2_2.4.30' //usr/lib/x86_64-linux-gnu/libxml2.so.2: error adding symbols: DSO missing from command line --- tests/Makefile.am | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/Makefile.am b/tests/Makefile.am index 7a152957c6..499f133c55 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -681,6 +681,7 @@ storagevolxml2argvtest_SOURCES = \ storagevolxml2argvtest.c \ testutils.c testutils.h storagevolxml2argvtest_LDADD = \ + $(LIBXML_LIBS) \ ../src/libvirt_driver_storage_impl.la $(LDADDS) else ! WITH_STORAGE