From: Ralf Wildenhues Date: Thu, 8 Jun 2006 16:55:10 +0000 (+0000) Subject: * ltmain.in (link mode): Honor `-threads', similar to `-mt'. X-Git-Tag: release-1-5-23b~35 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=bf10b5b655a87902fd0b6d11e65dc8e2ba9775eb;p=thirdparty%2Flibtool.git * ltmain.in (link mode): Honor `-threads', similar to `-mt'. Report by Eric Paire . --- diff --git a/ChangeLog b/ChangeLog index ae99674b8..85a75b8c0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2006-06-08 Ralf Wildenhues + + * ltmain.in (link mode): Honor `-threads', similar to `-mt'. + Report by Eric Paire . + 2006-06-01 Ralf Wildenhues * ltmain.in: Convert *each* occurrence of `compile_command', diff --git a/ltmain.in b/ltmain.in index 6fe5911e3..09d65f17d 100644 --- a/ltmain.in +++ b/ltmain.in @@ -1640,7 +1640,7 @@ EOF continue ;; - -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe) + -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe|-threads) compiler_flags="$compiler_flags $arg" compile_command="$compile_command $arg" finalize_command="$finalize_command $arg" @@ -2134,7 +2134,7 @@ EOF lib= found=no case $deplib in - -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe) + -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe|-threads) if test "$linkmode,$pass" = "prog,link"; then compile_deplibs="$deplib $compile_deplibs" finalize_deplibs="$deplib $finalize_deplibs"