mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-03 03:25:20 +00:00
Fix typo in configure.ac causing $LIBS to gain a copy of $CFLAGS
The virt-dbus.m4 check for DBus was preserving $LIBS before modifying it. Except it wasn't. It was preserving another copy of $CFLAGS. The result was that after the check completed, $LIBS got polluted with $CFLAGS Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
This commit is contained in:
parent
3a9382ca2a
commit
9fe43021f3
@ -22,7 +22,7 @@ AC_DEFUN([LIBVIRT_CHECK_DBUS],[
|
|||||||
|
|
||||||
if test "$with_dbus" = "yes" ; then
|
if test "$with_dbus" = "yes" ; then
|
||||||
old_CFLAGS="$CFLAGS"
|
old_CFLAGS="$CFLAGS"
|
||||||
old_LIBS="$CFLAGS"
|
old_LIBS="$LIBS"
|
||||||
CFLAGS="$CFLAGS $DBUS_CFLAGS"
|
CFLAGS="$CFLAGS $DBUS_CFLAGS"
|
||||||
LIBS="$LIBS $DBUS_LIBS"
|
LIBS="$LIBS $DBUS_LIBS"
|
||||||
AC_CHECK_FUNCS([dbus_watch_get_unix_fd])
|
AC_CHECK_FUNCS([dbus_watch_get_unix_fd])
|
||||||
|
Loading…
Reference in New Issue
Block a user