From: Brad Date: Sat, 18 Aug 2001 22:25:17 +0000 (+0000) Subject: * ltmain.in: Do not remove -lm from deplibs for OpenBSD. X-Git-Tag: release-1-4d~62 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d950a2a3088ad3004f1bb455d4561c6dc9f1e6e7;p=thirdparty%2Flibtool.git * ltmain.in: Do not remove -lm from deplibs for OpenBSD. --- diff --git a/ChangeLog b/ChangeLog index cdf4d61a5..4df4c6a7c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2001-08-18 Brad + + * ltmain.in: Do not remove -lm from deplibs for OpenBSD. + 2001-08-16 Gary V. Vaughan * libltdl/ltdl.c (argz_create_sep): Don't forget to include the diff --git a/ltmain.in b/ltmain.in index 473e06406..78c5980e5 100644 --- a/ltmain.in +++ b/ltmain.in @@ -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.