2024-05-26 03:08:12 +00:00
|
|
|
Index: config/ltmain.sh
|
|
|
|
--- config/ltmain.sh.orig
|
|
|
|
+++ config/ltmain.sh
|
|
|
|
@@ -7111,7 +7111,7 @@ func_mode_link ()
|
2023-09-07 00:21:51 +00:00
|
|
|
# These systems don't actually have a C library (as such)
|
|
|
|
test X-lc = "X$arg" && continue
|
|
|
|
;;
|
|
|
|
- *-*-openbsd* | *-*-freebsd* | *-*-dragonfly* | *-*-bitrig*)
|
|
|
|
+ *-*-openbsd* | *-*-freebsd* | *-*-dragonfly* | *-*-bitrig* | *-*-secbsd*)
|
|
|
|
# Do not include libc due to us having libc/libc_r.
|
|
|
|
test X-lc = "X$arg" && continue
|
|
|
|
;;
|
2024-05-26 03:08:12 +00:00
|
|
|
@@ -7131,7 +7131,7 @@ func_mode_link ()
|
2023-09-07 00:21:51 +00:00
|
|
|
esac
|
|
|
|
elif test X-lc_r = "X$arg"; then
|
|
|
|
case $host in
|
|
|
|
- *-*-openbsd* | *-*-freebsd* | *-*-dragonfly* | *-*-bitrig*)
|
|
|
|
+ *-*-openbsd* | *-*-freebsd* | *-*-dragonfly* | *-*-bitrig* | *-*-secbsd*)
|
|
|
|
# Do not include libc_r directly, use -pthread flag.
|
|
|
|
continue
|
|
|
|
;;
|
2024-05-26 03:08:12 +00:00
|
|
|
@@ -9226,7 +9226,7 @@ func_mode_link ()
|
2023-09-07 00:21:51 +00:00
|
|
|
*-*-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*)
|