]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commitdiff
tests: link against libxml2
authorGuido Günther <agx@sigxcpu.org>
Mon, 7 Apr 2014 07:57:11 +0000 (09:57 +0200)
committerGuido Günther <agx@sigxcpu.org>
Tue, 8 Apr 2014 06:42:16 +0000 (08:42 +0200)
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

index 7a152957c65211773e4b46b26961c5f7e2cc6dc8..499f133c557c887604a32e73b52e042d10b997db 100644 (file)
@@ -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