]> git.ipfire.org Git - thirdparty/libvirt.git/commit
tools: Link libvirt.la and readline to libvirt_shell.a
authorMichal Privoznik <mprivozn@redhat.com>
Fri, 25 Sep 2015 11:20:38 +0000 (13:20 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Fri, 25 Sep 2015 12:33:06 +0000 (14:33 +0200)
commit1fb8ac4c795ff44379fdddcefb31330e17cea3c2
treef3dc92d15560d0ee61c676cac53e4e0f4771232f
parent08e5d1efcf2069d48e2835c6504ac577c2b9f0a8
tools: Link libvirt.la and readline to libvirt_shell.a

So, our mingw build is broken. It's because while libvirt_shell
library is using some of our internal APIs, e.g. virStrndup, and
readline API but it's not being linked with nor libvirt.la nor
libreadline.  Only subsequent users of the library, like virsh,
do link to the needed libraries. In fact, I'm surprised Linux
linker doesn't care, because how can it make a static library
with missing symbols is mystery to me.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
configure.ac
tools/Makefile.am