]> 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:14:41 +0000 (14:14 +0000)
committerPeter O'Gorman <peter@pogma.com>
Mon, 7 Feb 2005 14:14:41 +0000 (14:14 +0000)
executables too.
Reported by Andreas Schwab <schwab@suse.de>

ChangeLog
config/ltmain.m4sh

index 2ce2b07d9bc186b9ff9d211d10ec351031c90ac7..fd41a26383a2ab26dd1201be9f318e3b7235f2b6 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 2bd793e43b5372a5d8c4d7849bb6612430e1091f..28f5bac56d5e8685ef6773a21240ec99c9383180 100644 (file)
@@ -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
        ;;