]> git.ipfire.org Git - thirdparty/libvirt.git/commit
build: fix missing dependencies for libvirt-qemu.so
authorEric Blake <eblake@redhat.com>
Tue, 29 May 2012 18:41:06 +0000 (12:41 -0600)
committerEric Blake <eblake@redhat.com>
Tue, 29 May 2012 18:51:36 +0000 (12:51 -0600)
commitfca009fd04462edefb7ef4d3654a80a28e98878b
tree9f748333de1cf57399bba78546abd060e9e1a9cc
parent28dbf01d08cc8623b040df10ae4822706b78fb7e
build: fix missing dependencies for libvirt-qemu.so

The moment you specify a _DEPENDENCIES, older automake (stupidly)
assumes that you will specify _all_ dependencies for that target.
This stupidity has been fixed in automake 1.12, but we cannot rely on
newer automake everywhere.  For libvirt_la_DEPENDENCIES, we took
care of providing the full list, but for libvirt_qemu_la_DEPENDENCIES,
we were missing the dependency on libvirt_qemu_impl.la, which resulted
in a failed build:

make[3]: Entering directory `/home/ajia/Workspace/libvirt/src'
   CCLD   libvirt_driver_qemu.la
libtool: link: `libvirt_qemu_probes.lo' is not a valid libtool object

* src/Makefile.am (libvirt_driver_qemu_la_DEPENDENCIES): Delete;
automake does a better job if it does the entire job.
src/Makefile.am