]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
build: drop the ldexp gnulib module
authorDaniel P. Berrangé <berrange@redhat.com>
Thu, 3 Oct 2019 15:27:12 +0000 (16:27 +0100)
committerDaniel P. Berrangé <berrange@redhat.com>
Mon, 7 Oct 2019 12:39:43 +0000 (13:39 +0100)
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 <jtomko@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
bootstrap.conf
src/util/Makefile.inc.am

index 8d3963fa2c71887b80bc2f3d1ca75b650e3dc5f4..96ce1504ba8407b68c29dae26ad4bc95ed570867 100644 (file)
@@ -54,7 +54,6 @@ intprops
 ioctl
 isatty
 largefile
-ldexp
 listen
 localeconv
 maintainer-makefile
index 482b657a904f8425bb6870c91be05d098bb239ee..9747816fac083e60f7e783745c321168a63c6d5b 100644 (file)
@@ -279,6 +279,7 @@ libvirt_util_la_CFLAGS = \
        $(ACL_CFLAGS) \
        $(NULL)
 libvirt_util_la_LIBADD = \
+       -lm \
        $(CAPNG_LIBS) \
        $(YAJL_LIBS) \
        $(LIBNL_LIBS) \