summaryrefslogtreecommitdiff
path: root/lib/libSM/ltmain.sh
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2007-07-29 10:50:18 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>2007-07-29 10:50:18 +0000
commitb00d4cd562110db1a78dfedf590103df6cd50681 (patch)
treeab3cad589f17c1b04cce9089d17ba19525919113 /lib/libSM/ltmain.sh
parent66bbcf121e1a4fc68c8efc6d7d619b79f57ea493 (diff)
regen
Diffstat (limited to 'lib/libSM/ltmain.sh')
-rw-r--r--lib/libSM/ltmain.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libSM/ltmain.sh b/lib/libSM/ltmain.sh
index 25f21fea7..85faf0734 100644
--- a/lib/libSM/ltmain.sh
+++ b/lib/libSM/ltmain.sh
@@ -1604,6 +1604,7 @@ EOF
compiler_flags="$compiler_flags $arg"
compile_command="$compile_command $arg"
finalize_command="$finalize_command $arg"
+ deplibs="$deplibs $arg"
continue
;;
@@ -2111,6 +2112,7 @@ EOF
finalize_deplibs="$deplib $finalize_deplibs"
else
compiler_flags="$compiler_flags $deplib"
+ test "$linkmode" = lib && newdependency_libs="$deplib $newdependency_libs"
fi
continue
;;