From: Pavel Hrdina Date: Thu, 15 Dec 2016 21:53:31 +0000 (+0100) Subject: m4/virt-netcf: fix bug where we overwrite LIBS X-Git-Tag: v3.0.0-rc1~251 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5bacfec2dabc75f864f904b6a0b4dda666bdc2e1;p=thirdparty%2Flibvirt.git m4/virt-netcf: fix bug where we overwrite LIBS Signed-off-by: Pavel Hrdina --- diff --git a/m4/virt-netcf.m4 b/m4/virt-netcf.m4 index 8d123c75ac..7e0ee83fc5 100644 --- a/m4/virt-netcf.m4 +++ b/m4/virt-netcf.m4 @@ -22,7 +22,7 @@ AC_DEFUN([LIBVIRT_CHECK_NETCF],[ if test "$with_netcf" = "yes" ; then old_CFLAGS="$CFLAGS" - old_LIBS="$CFLAGS" + old_LIBS="$LIBS" CFLAGS="$CFLAGS $NETCF_CFLAGS" LIBS="$LIBS $NETCF_LIBS" AC_CHECK_FUNC([ncf_change_begin], [netcf_transactions=1], [netcf_transactions=0])