]> xenbits.xensource.com Git - libvirt.git/commit
virsh: Remove indirect link against libxml2
authorGuido Günther <agx@sigxcpu.org>
Tue, 8 Mar 2011 18:24:28 +0000 (19:24 +0100)
committerGuido Günther <agx@sigxcpu.org>
Tue, 8 Mar 2011 20:28:57 +0000 (21:28 +0100)
commitc7cd546b6ca5a1d51924a6fab84cc7a76ad98fd2
tree0217460a309b58eeee1e14f8d98c8cd8a28a1ae4
parentd03f199595dc0b0a8f3726e13cc284d62e789202
virsh: Remove indirect link against libxml2

as described at
http://wiki.debian.org/ToolChain/DSOLinking
https://fedoraproject.org/wiki/UnderstandingDSOLinkChange

otherwise the build fails on current Debian unstable with:

CCLD   virsh
/usr/bin/ld: virsh-virsh.o: undefined reference to symbol 'xmlSaveTree@@LIBXML2_2.6.8'
/usr/bin/ld: note: 'xmlSaveTree@@LIBXML2_2.6.8' is defined in DSO //usr/lib/libxml2.so.2 so try adding it to the linker command line
//usr/lib/libxml2.so.2: could not read symbols: Invalid operation
tools/Makefile.am