From: Daniel P. Berrange Date: Mon, 2 Apr 2012 14:46:56 +0000 (+0100) Subject: Fix broken linkage of libvirt_driver_nodedev.la X-Git-Tag: v0.9.13-rc1~219 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1e27f291b375387730eed615ea006637e87d51ef;p=thirdparty%2Flibvirt.git Fix broken linkage of libvirt_driver_nodedev.la libvirt_driver_nodedev.la should not link against either libvirt_util.la or gnulib.la, since libvirt.so brings in those deps. * src/Makefile.am: Fix broken linkage of libvirt_driver_nodedev.la Signed-off-by: Daniel P. Berrange --- diff --git a/src/Makefile.am b/src/Makefile.am index ff81d4cc56..3476e51de5 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -1000,9 +1000,7 @@ libvirt_driver_nodedev_la_SOURCES = $(NODE_DEVICE_DRIVER_SOURCES) libvirt_driver_nodedev_la_CFLAGS = \ -I$(top_srcdir)/src/conf $(AM_CFLAGS) libvirt_driver_nodedev_la_LDFLAGS = $(AM_LDFLAGS) -libvirt_driver_nodedev_la_LIBADD = \ - libvirt_util.la \ - ../gnulib/lib/libgnu.la +libvirt_driver_nodedev_la_LIBADD = if HAVE_HAL libvirt_driver_nodedev_la_SOURCES += $(NODE_DEVICE_DRIVER_HAL_SOURCES)