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

ChangeLog
ltmain.in

index ae99674b8e37fc0d45b8b167f229e4eaa5175eb8..85a75b8c0ef300f65e4374ac25e784995426eab2 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2006-06-08  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       * ltmain.in (link mode): Honor `-threads', similar to `-mt'.
+       Report by Eric Paire <eric.paire@st.com>.
+
 2006-06-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
        * ltmain.in: Convert *each* occurrence of `compile_command',
index 6fe5911e38273cb4207ce1c1874938d71d8b436c..09d65f17d7414be3f2b9ca71e0705d5ae1076ba0 100644 (file)
--- 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"