bug#46559: [PATCH] LT_LIB_M: add mingw to systems not needing libm

Ozkan Sezer <[email protected]>
Newsgroups gmane.comp.gnu.libtool.bugs
Message-ID <CAA2C=vAKzgR8Nfew+OYjckMY7n4Dee2jR-1eWH+gM8yVpEoM1A@mail.gmail.com>
The attached patch adds mingw to systems not needing libm in LT_LIB_M.

--
O.S.

_______________________________________________
Bug-libtool mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-libtool
0001-m4-libtool.m4-LT_LIB_M-add-mingw-to-systems-not-need.patch (text/x-patch, 780 B)
From a91ffb679ffa39e1c0d6fda07528ee84e62fe5a8 Mon Sep 17 00:00:00 2001
From: Ozkan Sezer <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.