[snmp PATCH 04/20] configure.ac: Drop useless "-lvirt" in LIBVIRT_LIBS

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx>
---
 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@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux