summaryrefslogtreecommitdiff
path: root/ltmain.sh
diff options
context:
space:
mode:
authorInternet Software Consortium, Inc <@isc.org>2007-09-07 14:15:06 -0600
committerLaMont Jones <lamont@debian.org>2007-09-07 14:15:06 -0600
commit651a9bb081948e26109ee8958e72c95269de2277 (patch)
treeb58f6600178e894116759a431116a4b697d257fb /ltmain.sh
parent5339b05354d9d665c37aa3a1b197c03b3516d7ee (diff)
downloadbind9-651a9bb081948e26109ee8958e72c95269de2277.tar.gz
9.2.7rc1
Diffstat (limited to 'ltmain.sh')
-rw-r--r--ltmain.sh14
1 files changed, 11 insertions, 3 deletions
diff --git a/ltmain.sh b/ltmain.sh
index 718b2103..48f55455 100644
--- a/ltmain.sh
+++ b/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
;;