]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commit
vbox: fix linker error
authorJim Fehlig <jfehlig@suse.com>
Mon, 30 Jun 2014 22:34:46 +0000 (16:34 -0600)
committerJim Fehlig <jfehlig@suse.com>
Mon, 30 Jun 2014 22:34:46 +0000 (16:34 -0600)
commitc6cf5df32a0b9cdbf15a08c1ff0f1b7b17de8868
tree10f2c113a4d29dbd1c86b7f88b52c01d22a9c974
parentbfc72e99920215c9b004a5380ca61fe6ff81ea6b
vbox: fix linker error

Noticed the following error when building the vbox driver
in the openSUSE build service

CCLD     vboxsnapshotxmltest
/usr/lib64/gcc/x86_64-suse-linux/4.8/../../../../x86_64-suse-linux/bin/ld:
../src/.libs/libvirt_driver_vbox_impl.a
(libvirt_driver_vbox_impl_la-vbox_snapshot_conf.o):
undefined reference to symbol 'xmlXPathRegisterNs@@LIBXML2_2.4.30'
/usr/lib64/libxml2.so: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status

Fixed by adding LIBXML_LIBS to libvirt_driver_vbox_impl_la_LIBADD
src/Makefile.am