We are using PKG_CHECK_MODULES() which sets LIBVIRT_LIBS and
LIBVIRT_CFLAGS. There is no need to modify the former and put
"-lvirt" into it.
Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
---
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configure.ac b/configure.ac
index 7834c34..1b4112e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -26,8 +26,8 @@ dnl do we have libvirt installed?
LIBVIRT_REQUIRED=0.9.0
PKG_CHECK_MODULES(LIBVIRT, libvirt >= $LIBVIRT_REQUIRED)
-LIBVIRT_LIBS="$LIBVIRT_LIBS -lvirt"
AC_SUBST(LIBVIRT_LIBS)
+AC_SUBST(LIBVIRT_CFLAGS)
SNMP_CONFIG="net-snmp-config"
SNMP_CFLAGS=""
--
2.18.1
--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list