]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
libtool: add mingw to systems not requiring libm
authorOzkan Sezer <sezeroz@gmail.com>
Tue, 16 Feb 2021 08:55:50 +0000 (11:55 +0300)
committerIleana Dumitrescu <ileanadumitrescu95@gmail.com>
Wed, 17 Jan 2024 18:34:58 +0000 (20:34 +0200)
mingw uses msvcrt as it's standard library and does not use libm.
So in LT_LIB_M it can be added to the list of systems which do not
require libm.

* libtool.m4: Add mingw to the list of systems not requiring libm

m4/libtool.m4

index ed572bb3e2b3239848f2a8e0e8381d8296e9bd17..f2c244f0fc750f245880e11e0b82d96acad31a7e 100644 (file)
@@ -3854,7 +3854,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*)