]> granicus.if.org Git - curl/commitdiff
patch by Sandro Tolaini to do good (better?) on FreeBSD
authorDaniel Stenberg <daniel@haxx.se>
Fri, 22 Mar 2002 11:02:16 +0000 (11:02 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 22 Mar 2002 11:02:16 +0000 (11:02 +0000)
ltmain.sh

index de7d37d23313cfc3421dc46095a2cd619f76e2e2..0b885acada4c8431e64fb04f8f2caf185a0bea85 100644 (file)
--- a/ltmain.sh
+++ b/ltmain.sh
@@ -1043,14 +1043,14 @@ compiler."
            # 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
            ;;
          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
            ;;
@@ -2441,7 +2441,7 @@ compiler."
          *-*-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.
            ;;
          *)