31 lines
1.1 KiB
Text
31 lines
1.1 KiB
Text
|
Index: build-aux/ltmain.sh
|
||
|
--- build-aux/ltmain.sh.orig
|
||
|
+++ build-aux/ltmain.sh
|
||
|
@@ -5597,7 +5597,7 @@ func_mode_link ()
|
||
|
# These systems don't actually have a C library (as such)
|
||
|
test "X$arg" = "X-lc" && continue
|
||
|
;;
|
||
|
- *-*-openbsd* | *-*-freebsd* | *-*-dragonfly*)
|
||
|
+ *-*-openbsd* | *-*-freebsd* | *-*-dragonfly* | *-*-secbsd*)
|
||
|
# Do not include libc due to us having libc/libc_r.
|
||
|
test "X$arg" = "X-lc" && continue
|
||
|
;;
|
||
|
@@ -5617,7 +5617,7 @@ func_mode_link ()
|
||
|
esac
|
||
|
elif test "X$arg" = "X-lc_r"; then
|
||
|
case $host in
|
||
|
- *-*-openbsd* | *-*-freebsd* | *-*-dragonfly*)
|
||
|
+ *-*-openbsd* | *-*-freebsd* | *-*-dragonfly* | secbsd*)
|
||
|
# Do not include libc_r directly, use -pthread flag.
|
||
|
continue
|
||
|
;;
|
||
|
@@ -7615,7 +7615,7 @@ func_mode_link ()
|
||
|
*-*-netbsd*)
|
||
|
# Don't link with libc until the a.out ld.so is fixed.
|
||
|
;;
|
||
|
- *-*-openbsd* | *-*-freebsd* | *-*-dragonfly*)
|
||
|
+ *-*-openbsd* | *-*-freebsd* | *-*-dragonfly* | secbsd*)
|
||
|
# Do not include libc due to us having libc/libc_r.
|
||
|
;;
|
||
|
*-*-sco3.2v5* | *-*-sco5v6*)
|