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