summaryrefslogtreecommitdiff
path: root/lib/liboldX
diff options
context:
space:
mode:
Diffstat (limited to 'lib/liboldX')
-rw-r--r--lib/liboldX/ltmain.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/liboldX/ltmain.sh b/lib/liboldX/ltmain.sh
index 25f21fea7..85faf0734 100644
--- a/lib/liboldX/ltmain.sh
+++ b/lib/liboldX/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
;;