From 5bacfec2dabc75f864f904b6a0b4dda666bdc2e1 Mon Sep 17 00:00:00 2001 From: Pavel Hrdina Date: Thu, 15 Dec 2016 22:53:31 +0100 Subject: [PATCH] m4/virt-netcf: fix bug where we overwrite LIBS Signed-off-by: Pavel Hrdina --- m4/virt-netcf.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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])