From: Peter O'Gorman Date: Mon, 7 Feb 2005 14:14:41 +0000 (+0000) Subject: * config/ltmain.m4sh: Add -pthread like flags when linking X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=490d35217728f84a1c353e5dce3beaee2d3a3bb3;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 2ce2b07d9..fd41a2638 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 2bd793e43..28f5bac56 100644 --- a/config/ltmain.m4sh +++ b/config/ltmain.m4sh @@ -2657,6 +2657,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 ;;