aboutsummaryrefslogtreecommitdiff
path: root/ltmain.sh
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2002-03-22 11:02:16 +0000
committerDaniel Stenberg <daniel@haxx.se>2002-03-22 11:02:16 +0000
commit703ecc3521bde901d6ac85e0e7249fe1f5a0a429 (patch)
tree1d193a6ee84201118f70d4f1d4e8ad2c4b4ec7b2 /ltmain.sh
parent67b0f9aacd36f9d205f38679bed7acb7eb7f4aad (diff)
patch by Sandro Tolaini to do good (better?) on FreeBSD
Diffstat (limited to 'ltmain.sh')
-rw-r--r--ltmain.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/ltmain.sh b/ltmain.sh
index de7d37d23..0b885acad 100644
--- 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.
;;
*)