[libvirt] [PATCH 01/89] m4/virt-netcf: fix bug where we overwrite LIBS
Jiri Denemark
jdenemar at redhat.com
Fri Dec 16 19:59:52 UTC 2016
On Fri, Dec 16, 2016 at 10:10:29 +0100, Pavel Hrdina wrote:
> Signed-off-by: Pavel Hrdina <phrdina at redhat.com>
> ---
> 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])
ACK
Jirka
More information about the libvir-list
mailing list