]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
network: Link with libxml2
authorMichal Privoznik <mprivozn@redhat.com>
Thu, 18 Jul 2019 14:00:54 +0000 (16:00 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Thu, 18 Jul 2019 14:57:02 +0000 (16:57 +0200)
Since fb9f6ce6253 we are including a libxml header file in the
network driver but never link with it. This hasn't caused an
immediate problem because in the end the network driver links
with libvirt.la. But apparently, it's causing a build issue on
old Ubuntu.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
src/network/Makefile.inc.am

index 52270049d565ec03a0bd3d452268bf2aea72662c..23cf39b6f4e7bdde96f8d8cdd185ac1b54394ca1 100644 (file)
@@ -47,7 +47,7 @@ libvirt_driver_network_impl_la_CFLAGS = \
        $(AM_CFLAGS) \
        $(NULL)
 libvirt_driver_network_impl_la_SOURCES = $(NETWORK_DRIVER_SOURCES)
-libvirt_driver_network_impl_la_LIBADD  = $(DBUS_LIBS)
+libvirt_driver_network_impl_la_LIBADD  = $(DBUS_LIBS) $(LIBXML_LIBS)
 
 libexec_PROGRAMS += libvirt_leaseshelper
 libvirt_leaseshelper_SOURCES = $(NETWORK_LEASES_HELPER_SOURCES)