[libvirt] [snmp PATCH 04/20] configure.ac: Drop useless "-lvirt" in LIBVIRT_LIBS
Michal Privoznik
mprivozn at redhat.com
Thu Oct 18 12:26:42 UTC 2018
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 at 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
More information about the libvir-list
mailing list