mirror of
https://github.com/isc-projects/bind9.git
synced 2026-03-09 01:30:39 -04:00
1779. [port] OSF 5.1: libtool didn't handle -pthread correctly.
Redo w/ fix from generic fix from libtool maintainer.
This commit is contained in:
parent
07cc5cd57a
commit
dfcde667ec
1 changed files with 8 additions and 13 deletions
21
ltmain.sh
21
ltmain.sh
|
|
@ -1487,19 +1487,11 @@ EOF
|
|||
continue
|
||||
;;
|
||||
|
||||
-mt|-mthreads|-kthread|-Kthread|-pthreads|--thread-safe)
|
||||
deplibs="$deplibs $arg"
|
||||
continue
|
||||
;;
|
||||
|
||||
-pthread)
|
||||
case $host in
|
||||
*-*-osf5.1)
|
||||
# -pthread is a compiler only option
|
||||
continue
|
||||
;;
|
||||
-mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe)
|
||||
case "$archive_cmds" in
|
||||
*"\$LD"*) ;;
|
||||
*) deplibs="$deplibs $arg";;
|
||||
esac
|
||||
deplibs="$deplibs $arg"
|
||||
continue
|
||||
;;
|
||||
|
||||
|
|
@ -1987,7 +1979,10 @@ EOF
|
|||
compile_deplibs="$deplib $compile_deplibs"
|
||||
finalize_deplibs="$deplib $finalize_deplibs"
|
||||
else
|
||||
deplibs="$deplib $deplibs"
|
||||
case "$archive_cmds" in
|
||||
*"\$LD"*) ;;
|
||||
*) deplibs="$deplibs $arg";;
|
||||
esac
|
||||
fi
|
||||
continue
|
||||
;;
|
||||
|
|
|
|||
Loading…
Reference in a new issue