]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
m4/virt-netcf: fix bug where we overwrite LIBS
authorPavel Hrdina <phrdina@redhat.com>
Thu, 15 Dec 2016 21:53:31 +0000 (22:53 +0100)
committerPavel Hrdina <phrdina@redhat.com>
Wed, 21 Dec 2016 14:39:37 +0000 (15:39 +0100)
Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
m4/virt-netcf.m4

index 8d123c75ac81eef83e9b8c4db4ad942f6c805ac7..7e0ee83fc571aa6fcde5f6a2e54a0379ab0c5e06 100644 (file)
@@ -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])