]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* config/ltmain.m4sh: Add -pthread like flags when linking
authorPeter O'Gorman <peter@pogma.com>
Mon, 7 Feb 2005 14:17:15 +0000 (14:17 +0000)
committerPeter O'Gorman <peter@pogma.com>
Mon, 7 Feb 2005 14:17:15 +0000 (14:17 +0000)
executables too.
Reported by Andreas Schwab <schwab@suse.de>

ChangeLog
config/ltmain.m4sh

index 72b7a8698d519511df0fa52a66f15b3a7df2e99c..77436d2e32d6c30981139ae07c12ee60da6bfeae 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2005-02-07  Peter O'Gorman  <peter@pogma.com>
+
+       * config/ltmain.m4sh: Add -pthread like flags when linking
+       executables too.
+       Reported by Andreas Schwab <schwab@suse.de>
+
 2005-02-04  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
        * config/ltmain.m4sh (func_mode_link): Allow five digits in
index a45cee17315baf27ef8572e98af69da85cef3e01..847e9fba941ad0bd2714690ccb66e8158665a308 100644 (file)
@@ -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
        ;;