]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* ltmain.in: Do not remove -lm from deplibs for OpenBSD.
authorBrad <brad@comstyle.com>
Sat, 18 Aug 2001 22:25:17 +0000 (22:25 +0000)
committerGary V. Vaughan <gary@gnu.org>
Sat, 18 Aug 2001 22:25:17 +0000 (22:25 +0000)
ChangeLog
ltmain.in

index cdf4d61a55fc9b06f141e9046f10d23085b90cd1..4df4c6a7cba573598c9509e9e3a11d812b869370 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
index 473e0640672b9acd6257fbff5fff8fead9f22be4..78c5980e56a333ea1849e0b00856ef3299da7dea 100644 (file)
--- 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.