]> 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:51 +0000 (03:30 +0000)
committerPeter O'Gorman <peter@pogma.com>
Wed, 23 Feb 2005 03:30:51 +0000 (03:30 +0000)
inherited_linker_flags.

ChangeLog
config/ltmain.m4sh

index faec4d8a6854f2eaa280dc20227b3cba74af6329..47dbca4ff5586df15da7d0190b0bf42fae27ae01 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>
 
        Using `libtoolize --copy --ltdl' was not preserving timestamps, so
index 6d6278a15ce96aae5aa7b272326ae53866360d17..61dec2a457f64c7b876684d0728bb128c031a4ae 100644 (file)
@@ -2658,6 +2658,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
        ;;