From: Daniel P. Berrangé Date: Thu, 3 Oct 2019 15:27:12 +0000 (+0100) Subject: build: drop the ldexp gnulib module X-Git-Tag: v5.9.0-rc1~354 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=09fe607b4de8eb883c966e90aaf5563299a22738;p=thirdparty%2Flibvirt.git build: drop the ldexp gnulib module 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. Reviewed-by: Ján Tomko Signed-off-by: Daniel P. Berrangé --- 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) \