From bf10b5b655a87902fd0b6d11e65dc8e2ba9775eb Mon Sep 17 00:00:00 2001 From: Ralf Wildenhues Date: Thu, 8 Jun 2006 16:55:10 +0000 Subject: [PATCH] * ltmain.in (link mode): Honor `-threads', similar to `-mt'. Report by Eric Paire . --- ChangeLog | 5 +++++ ltmain.in | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) 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" -- 2.47.2