]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* ltmain.in: Treat freebsd like openbsd, in that -lc/-lc_r should
authorDonald D. Anderson <dda@sleepycat.com>
Tue, 27 Nov 2001 23:10:22 +0000 (23:10 +0000)
committerRobert Boehne <rboehne@gnu.org>
Tue, 27 Nov 2001 23:10:22 +0000 (23:10 +0000)
not be explicitly used.  ld handles this depending on the presence
of the -pthread option.

ChangeLog
ltmain.in

index 43db3d11fabab085ffb00a240c8632bd1f77b54f..b2425954778804488223b9a0be8338090837ce60 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2001-11-27  Donald D. Anderson  <dda@sleepycat.com>
+
+       * ltmain.in: Treat freebsd like openbsd, in that -lc/-lc_r should
+       not be explicitly used.  ld handles this depending on the presence
+       of the -pthread option.
+
 2001-11-27  Robert Boehne  <rboehne@ricardo-us.com>
 
        With help from Michael Matz <matz@kde.org>:
index 67bfd77a515f28ce570570457ad0468296100aed..4af517a6aa5d4be98ab7918bd3c4ab5b6216e3b7 100644 (file)
--- a/ltmain.in
+++ b/ltmain.in
@@ -1227,7 +1227,7 @@ EOF
            # These systems don't actually have a C library (as such)
            test "X$arg" = "X-lc" && continue
            ;;
-         *-*-openbsd*)
+         *-*-openbsd* | *-*-freebsd*)
            # Do not include libc due to us having libc/libc_r.
            test "X$arg" = "X-lc" && continue
            ;;
@@ -1238,7 +1238,7 @@ EOF
          esac
        elif test "X$arg" = "X-lc_r"; then
         case $host in
-        *-*-openbsd*)
+        *-*-openbsd* | *-*-freebsd*)
           # Do not include libc_r directly, use -pthread flag.
           continue
           ;;
@@ -2846,7 +2846,7 @@ EOF
          *-*-netbsd*)
            # Don't link with libc until the a.out ld.so is fixed.
            ;;
-         *-*-openbsd*)
+         *-*-openbsd* | *-*-freebsd*)
            # Do not include libc due to us having libc/libc_r.
            test "X$arg" = "X-lc" && continue
            ;;