summaryrefslogtreecommitdiffstats
path: root/contrib/bind9/ltmain.sh
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/bind9/ltmain.sh')
-rw-r--r--contrib/bind9/ltmain.sh14
1 files changed, 11 insertions, 3 deletions
diff --git a/contrib/bind9/ltmain.sh b/contrib/bind9/ltmain.sh
index a6453bb..e032aff 100644
--- a/contrib/bind9/ltmain.sh
+++ b/contrib/bind9/ltmain.sh
@@ -1488,9 +1488,17 @@ EOF
;;
-mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe)
- case "$archive_cmds" in
- *"\$LD"*) ;;
- *) deplibs="$deplibs $arg";;
+ case $host in
+ *-*-freebsd*)
+ compile_command="$compile_command $arg"
+ finalize_command="$finalize_command $arg"
+ ;;
+ *)
+ case "$archive_cmds" in
+ *"\$LD"*) ;;
+ *) deplibs="$deplibs $arg";;
+ esac
+ ;;
esac
continue
;;
OpenPOWER on IntegriCloud