1036 |
# These systems don't actually have a C library (as such) |
# These systems don't actually have a C library (as such) |
1037 |
test "X$arg" = "X-lc" && continue |
test "X$arg" = "X-lc" && continue |
1038 |
;; |
;; |
1039 |
|
*-*-openbsd*) |
1040 |
|
# Do not include libc due to us having libc/libc_r. |
1041 |
|
continue |
1042 |
|
;; |
1043 |
|
esac |
1044 |
|
fi |
1045 |
|
if test "X$arg" = "X-lc_r"; then |
1046 |
|
case $host in |
1047 |
|
*-*-openbsd*) |
1048 |
|
# Do not include libc_r directly, use -pthread flag. |
1049 |
|
continue |
1050 |
|
;; |
1051 |
esac |
esac |
1052 |
fi |
fi |
1053 |
deplibs="$deplibs $arg" |
deplibs="$deplibs $arg" |
2425 |
*-*-netbsd*) |
*-*-netbsd*) |
2426 |
# Don't link with libc until the a.out ld.so is fixed. |
# Don't link with libc until the a.out ld.so is fixed. |
2427 |
;; |
;; |
2428 |
|
*-*-openbsd*) |
2429 |
|
# Do not include libc due to us having libc/libc_r. |
2430 |
|
;; |
2431 |
*) |
*) |
2432 |
# Add libc to deplibs on all other systems if necessary. |
# Add libc to deplibs on all other systems if necessary. |
2433 |
if test $build_libtool_need_lc = "yes"; then |
if test $build_libtool_need_lc = "yes"; then |