mirror of https://gitee.com/openkylin/libvirt.git
m4/virt-netcf: fix bug where we overwrite LIBS
Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
This commit is contained in:
parent
9cae9c886b
commit
5bacfec2da
|
@ -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])
|
||||
|
|
Loading…
Reference in New Issue