From b5520c24145eb56c4dd6fcc127c09d878fea1713 Mon Sep 17 00:00:00 2001 From: Pino Toscano Date: Wed, 17 Nov 2021 08:17:01 +0100 Subject: [PATCH] configure: link to m on any GNU system GNU-based systems use GNU libc, which provides the math functions in a separate "m" library. Hence, unconditionally link to it on any GNU system. --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 507856d..3dcae76 100644 --- a/configure.ac +++ b/configure.ac @@ -44,7 +44,7 @@ AM_ICONV AC_CANONICAL_HOST AS_CASE([$host], - [*linux*|*bsd*|*mingw*|*cygwin*], [EXTRA_LIBS="-lm"], + [*linux*|*bsd*|*mingw*|*cygwin*|*gnu*], [EXTRA_LIBS="-lm"], [EXTRA_LIBS=""]) AC_SUBST([EXTRA_LIBS])