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 <jtomko@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
This commit is contained in:
Daniel P. Berrangé 2019-10-03 16:27:12 +01:00
parent a605dde1f5
commit 09fe607b4d
2 changed files with 1 additions and 1 deletions

View File

@ -54,7 +54,6 @@ intprops
ioctl
isatty
largefile
ldexp
listen
localeconv
maintainer-makefile

View File

@ -279,6 +279,7 @@ libvirt_util_la_CFLAGS = \
$(ACL_CFLAGS) \
$(NULL)
libvirt_util_la_LIBADD = \
-lm \
$(CAPNG_LIBS) \
$(YAJL_LIBS) \
$(LIBNL_LIBS) \