]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* config/ltmain.m4sh (func_mode_link): Add -pthread like flags to
authorChristoph Egger <Christoph_Egger@gmx.de>
Wed, 23 Feb 2005 03:30:30 +0000 (03:30 +0000)
committerPeter O'Gorman <peter@pogma.com>
Wed, 23 Feb 2005 03:30:30 +0000 (03:30 +0000)
inherited_linker_flags.

ChangeLog
config/ltmain.m4sh

index cc19ec8926941ebf365a76fc10424466bd6bf023..d8224acbbaa750e7460c475ae6f38888f9ef8f4d 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2005-02-23  Christoph Egger  <Christoph_Egger@gmx.de> (tiny change)
+
+       * config/ltmain.m4sh (func_mode_link): Add -pthread like flags to
+       inherited_linker_flags.
+
 2005-02-22  Gary V. Vaughan  <gary@gnu.org>
 
        * libtoolize.m4sh (func_copy_cb): self.leg->shoot_off() :-/
index cf66b38e631deb0eaaa1df6692e08b20034be78d..af2139be62ad9c6e2ae53f8874ca990b8bf96b8f 100644 (file)
@@ -2686,6 +2686,10 @@ func_mode_link ()
        compiler_flags="$compiler_flags $arg"
        compile_command="$compile_command $arg"
        finalize_command="$finalize_command $arg"
+       case "$new_inherited_linker_flags " in
+           *" $arg "*) ;;
+           * ) new_inherited_linker_flags="$new_inherited_linker_flags $arg" ;;
+       esac
        continue
        ;;