From: Peter O'Gorman Date: Mon, 7 Feb 2005 14:17:15 +0000 (+0000) Subject: * config/ltmain.m4sh: Add -pthread like flags when linking X-Git-Tag: release-2-1b~751 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d2485c33710ca711773cff8441bf7bd77ed6622e;p=thirdparty%2Flibtool.git * config/ltmain.m4sh: Add -pthread like flags when linking executables too. Reported by Andreas Schwab --- diff --git a/ChangeLog b/ChangeLog index 72b7a8698..77436d2e3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2005-02-07 Peter O'Gorman + + * config/ltmain.m4sh: Add -pthread like flags when linking + executables too. + Reported by Andreas Schwab + 2005-02-04 Ralf Wildenhues * config/ltmain.m4sh (func_mode_link): Allow five digits in diff --git a/config/ltmain.m4sh b/config/ltmain.m4sh index a45cee173..847e9fba9 100644 --- a/config/ltmain.m4sh +++ b/config/ltmain.m4sh @@ -2685,6 +2685,8 @@ func_mode_link () -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe) compiler_flags="$compiler_flags $arg" + compile_command="$compile_command $arg" + finalize_command="$finalize_command $arg" continue ;;