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