]> xenbits.xensource.com Git - libvirt.git/commit
libvirtd: Remove indirect linking
authorGuido Günther <agx@sigxcpu.org>
Tue, 8 Mar 2011 20:44:14 +0000 (21:44 +0100)
committerGuido Günther <agx@sigxcpu.org>
Wed, 9 Mar 2011 12:59:58 +0000 (13:59 +0100)
commitae1c5a936c32bae38d8be21484c58c890111f024
tree2b94d30019dfb64b55eff3e0d76197426abfddad
parent83d35233a9edccdc3a8c17dc3f357d5ccb30ceab
libvirtd: Remove indirect linking

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

otherwise the build fails on current Debian unstable with:

CCLD   libvirtd
/usr/bin/ld: ../src/.libs/libvirt_driver_lxc.a(libvirt_driver_lxc_la-lxc_container.o): undefined reference to symbol 'capng_apply'
/usr/bin/ld: note: 'capng_apply' is defined in DSO //usr/lib/libcap-ng.so.0 so try adding it to the linker command line

CCLD   libvirtd
/usr/bin/ld: ../src/.libs/libvirt_driver_storage.a(libvirt_driver_storage_la-storage_backend.o): undefined reference to symbol 'fgetfilecon'
/usr/bin/ld: note: 'fgetfilecon' is defined in DSO //lib/libselinux.so.1 so try adding it to the linker command line
//lib/libselinux.so.1: could not read symbols: Invalid operation

and similar errors.
src/Makefile.am