[PATCH 3/5] build: drop the ldexp gnulib module

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

 



The ldexp gnulib module adds "-lm" to the $LIBS variable if-and-only-if
the ldexp() function require linking to libm. There is no harm in
linking to libm even if it isn't required for ldexp(), so simply drop
the gnulib module.

Signed-off-by: Daniel P. Berrangé <berrange@xxxxxxxxxx>
---
 bootstrap.conf           | 1 -
 src/util/Makefile.inc.am | 1 +
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/bootstrap.conf b/bootstrap.conf
index 8d3963fa2c..96ce1504ba 100644
--- a/bootstrap.conf
+++ b/bootstrap.conf
@@ -54,7 +54,6 @@ intprops
 ioctl
 isatty
 largefile
-ldexp
 listen
 localeconv
 maintainer-makefile
diff --git a/src/util/Makefile.inc.am b/src/util/Makefile.inc.am
index 482b657a90..9747816fac 100644
--- a/src/util/Makefile.inc.am
+++ b/src/util/Makefile.inc.am
@@ -279,6 +279,7 @@ libvirt_util_la_CFLAGS = \
 	$(ACL_CFLAGS) \
 	$(NULL)
 libvirt_util_la_LIBADD = \
+	-lm \
 	$(CAPNG_LIBS) \
 	$(YAJL_LIBS) \
 	$(LIBNL_LIBS) \
-- 
2.21.0

--
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