Subject: [PATCH] LT_LIB_M: add mingw to systems not needing libm

From: Ozkan Sezer <[email-masked]>
Date: Tue, 16 Feb 2021 15:33:07 +0300

The attached patch adds mingw to systems not needing libm in LT_LIB_M.

--
O.S.
From a91ffb679ffa39e1c0d6fda07528ee84e62fe5a8 Mon Sep 17 00:00:00 2001
From: Ozkan Sezer <[email-masked]>
Date: Tue, 16 Feb 2021 11:55:50 +0300
Subject: [PATCH] m4/libtool.m4 (LT_LIB_M): add mingw to systems not needing libm.

---
 m4/libtool.m4 |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/m4/libtool.m4 b/m4/libtool.m4
index f2d1f39..b26032e 100644
--- a/m4/libtool.m4
+++ b/m4/libtool.m4
@@ -3863,7 +3863,7 @@ AC_DEFUN([LT_LIB_M],
 [AC_REQUIRE([AC_CANONICAL_HOST])dnl
 LIBM=
 case $host in
-*-*-beos* | *-*-cegcc* | *-*-cygwin* | *-*-haiku* | *-*-pw32* | *-*-darwin*)
+*-*-beos* | *-*-cegcc* | *-*-cygwin* | *-*-haiku* | *-*-mingw* | *-*-pw32* | *-*-darwin*)
   # These system don't have libm, or don't need it
   ;;
 *-ncr-sysv4.3*)
-- 
1.7.1