]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* libltdl/config/ltmain.m4sh (func_mode_link): Honor `-threads',
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Thu, 8 Jun 2006 16:54:44 +0000 (16:54 +0000)
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Thu, 8 Jun 2006 16:54:44 +0000 (16:54 +0000)
similar to `-mt'.
Report by Eric Paire <eric.paire@st.com>.

ChangeLog
libltdl/config/ltmain.m4sh

index 15cf0286556fadc8f6165ab29e32f5fdb8e2b020..803a27bfc0eaa7ef28eed54340ace42d5b6d98a6 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2006-06-08  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       * libltdl/config/ltmain.m4sh (func_mode_link): Honor `-threads',
+       similar to `-mt'.
+       Report by Eric Paire <eric.paire@st.com>.
+
 2006-06-01  Charles Wilson  <libtool@cwilson.fastmail.fm>
 
        * libltdl/m4/libtool.m4 (_LT_COMPILER_PIC) [ cygwin ]:
index fe5abb6befbc4caf3b14843f33c389c4f52fb358..04c26d4864abbfb74d2e798fc23cc1d7d6870f2e 100644 (file)
@@ -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"