From: Ralf Wildenhues Date: Thu, 8 Jun 2006 16:54:44 +0000 (+0000) Subject: * libltdl/config/ltmain.m4sh (func_mode_link): Honor `-threads', X-Git-Tag: release-2-1b~280 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f38715832a5d0804bf9a01e2e62fbd6e757f8498;p=thirdparty%2Flibtool.git * libltdl/config/ltmain.m4sh (func_mode_link): Honor `-threads', similar to `-mt'. Report by Eric Paire . --- diff --git a/ChangeLog b/ChangeLog index 15cf02865..803a27bfc 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2006-06-08 Ralf Wildenhues + + * libltdl/config/ltmain.m4sh (func_mode_link): Honor `-threads', + similar to `-mt'. + Report by Eric Paire . + 2006-06-01 Charles Wilson * libltdl/m4/libtool.m4 (_LT_COMPILER_PIC) [ cygwin ]: diff --git a/libltdl/config/ltmain.m4sh b/libltdl/config/ltmain.m4sh index fe5abb6be..04c26d486 100644 --- a/libltdl/config/ltmain.m4sh +++ b/libltdl/config/ltmain.m4sh @@ -2722,7 +2722,7 @@ func_mode_link () continue ;; - -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe) + -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe|-threads) compiler_flags="$compiler_flags $arg" func_append compile_command " $arg" func_append finalize_command " $arg" @@ -3204,7 +3204,7 @@ func_mode_link () 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"