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