+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>:
# 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
;;
*-*-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
;;