* ltmain.in: Do not remove -lm from deplibs for OpenBSD.

This commit is contained in:
Brad 2001-08-18 22:25:17 +00:00 committed by Gary V. Vaughan
parent 63ad459714
commit d950a2a308
2 changed files with 8 additions and 3 deletions

View File

@ -1,3 +1,7 @@
2001-08-18 Brad <brad@comstyle.com>
* ltmain.in: Do not remove -lm from deplibs for OpenBSD.
2001-08-16 Gary V. Vaughan <gary@gnu.org>
* libltdl/ltdl.c (argz_create_sep): Don't forget to include the

View File

@ -1223,8 +1223,8 @@ EOF
test "X$arg" = "X-lc" && continue
;;
*-*-openbsd*)
# OpenBSD uses either libc or libc_r.
continue
# Do not include libc due to us having libc/libc_r.
test "X$arg" = "X-lc" && continue
;;
*-*-rhapsody* | *-*-darwin1.[012])
# Rhapsody C and math libraries are in the System framework
@ -2819,7 +2819,8 @@ EOF
# Don't link with libc until the a.out ld.so is fixed.
;;
*-*-openbsd*)
# OpenBSD uses either libc or libc_r.
# Do not include libc due to us having libc/libc_r.
test "X$arg" = "X-lc" && continue
;;
*)
# Add libc to deplibs on all other systems if necessary.