1
--- a/libtools/ltmain.sh.orig 2006-03-29 15:45:36.000000000 +0200
2
+++ b/libtools/ltmain.sh 2006-03-29 16:39:30.000000000 +0200
4
arg=`$echo "X$arg" | $Xsed -e "s/^ //"`
8
+ deplibs="$deplibs $arg"
13
args=`$echo "X$arg" | $Xsed -e "$sed_quote_subst" -e 's/^-Wl,//'`
15
@@ -2099,6 +2104,15 @@
20
+ if test "$linkmode,$pass" = "prog,link"; then
21
+ compile_deplibs="$deplib $compile_deplibs"
22
+ finalize_deplibs="$deplib $finalize_deplibs"
24
+ deplibs="$deplib $deplibs"
28
-mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe)
29
if test "$linkmode,$pass" = "prog,link"; then
30
compile_deplibs="$deplib $compile_deplibs"