summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/fontconfig/ltmain.sh2
-rw-r--r--lib/libFS/ltmain.sh2
-rw-r--r--lib/libICE/ltmain.sh2
-rw-r--r--lib/libSM/ltmain.sh2
-rw-r--r--lib/libX11/ltmain.sh2
-rw-r--r--lib/libXRes/ltmain.sh2
-rw-r--r--lib/libXScrnSaver/ltmain.sh2
-rw-r--r--lib/libXTrap/ltmain.sh2
-rw-r--r--lib/libXau/ltmain.sh2
-rw-r--r--lib/libXaw/ltmain.sh2
-rw-r--r--lib/libXcomposite/ltmain.sh2
-rw-r--r--lib/libXcursor/ltmain.sh2
-rw-r--r--lib/libXdamage/ltmain.sh2
-rw-r--r--lib/libXdmcp/ltmain.sh2
-rw-r--r--lib/libXevie/ltmain.sh2
-rw-r--r--lib/libXext/ltmain.sh2
-rw-r--r--lib/libXfixes/ltmain.sh2
-rw-r--r--lib/libXfont/ltmain.sh2
-rw-r--r--lib/libXfontcache/ltmain.sh2
-rw-r--r--lib/libXft/ltmain.sh2
-rw-r--r--lib/libXi/ltmain.sh2
-rw-r--r--lib/libXinerama/ltmain.sh2
-rw-r--r--lib/libXmu/ltmain.sh2
-rw-r--r--lib/libXp/ltmain.sh2
-rw-r--r--lib/libXpm/ltmain.sh2
-rw-r--r--lib/libXprintAppUtil/ltmain.sh2
-rw-r--r--lib/libXprintUtil/ltmain.sh2
-rw-r--r--lib/libXrandr/ltmain.sh2
-rw-r--r--lib/libXrender/ltmain.sh2
-rw-r--r--lib/libXt/ltmain.sh2
-rw-r--r--lib/libXtst/ltmain.sh2
-rw-r--r--lib/libXv/ltmain.sh2
-rw-r--r--lib/libXvMC/ltmain.sh2
-rw-r--r--lib/libXxf86dga/ltmain.sh2
-rw-r--r--lib/libXxf86misc/ltmain.sh2
-rw-r--r--lib/libXxf86vm/ltmain.sh2
-rw-r--r--lib/libdmx/ltmain.sh2
-rw-r--r--lib/libdrm/ltmain.sh2
-rw-r--r--lib/libfontenc/ltmain.sh2
-rw-r--r--lib/liblbxutil/ltmain.sh2
-rw-r--r--lib/liboldX/ltmain.sh2
-rw-r--r--lib/libxkbfile/ltmain.sh2
-rw-r--r--lib/libxkbui/ltmain.sh2
43 files changed, 86 insertions, 0 deletions
diff --git a/lib/fontconfig/ltmain.sh b/lib/fontconfig/ltmain.sh
index 25f21fea7..85faf0734 100644
--- a/lib/fontconfig/ltmain.sh
+++ b/lib/fontconfig/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
;;
diff --git a/lib/libFS/ltmain.sh b/lib/libFS/ltmain.sh
index 25f21fea7..85faf0734 100644
--- a/lib/libFS/ltmain.sh
+++ b/lib/libFS/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
;;
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
;;
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
;;
diff --git a/lib/libX11/ltmain.sh b/lib/libX11/ltmain.sh
index 25f21fea7..85faf0734 100644
--- a/lib/libX11/ltmain.sh
+++ b/lib/libX11/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
;;
diff --git a/lib/libXRes/ltmain.sh b/lib/libXRes/ltmain.sh
index 25f21fea7..85faf0734 100644
--- a/lib/libXRes/ltmain.sh
+++ b/lib/libXRes/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
;;
diff --git a/lib/libXScrnSaver/ltmain.sh b/lib/libXScrnSaver/ltmain.sh
index 25f21fea7..85faf0734 100644
--- a/lib/libXScrnSaver/ltmain.sh
+++ b/lib/libXScrnSaver/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
;;
diff --git a/lib/libXTrap/ltmain.sh b/lib/libXTrap/ltmain.sh
index 25f21fea7..85faf0734 100644
--- a/lib/libXTrap/ltmain.sh
+++ b/lib/libXTrap/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
;;
diff --git a/lib/libXau/ltmain.sh b/lib/libXau/ltmain.sh
index 25f21fea7..85faf0734 100644
--- a/lib/libXau/ltmain.sh
+++ b/lib/libXau/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
;;
diff --git a/lib/libXaw/ltmain.sh b/lib/libXaw/ltmain.sh
index 25f21fea7..85faf0734 100644
--- a/lib/libXaw/ltmain.sh
+++ b/lib/libXaw/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
;;
diff --git a/lib/libXcomposite/ltmain.sh b/lib/libXcomposite/ltmain.sh
index 25f21fea7..85faf0734 100644
--- a/lib/libXcomposite/ltmain.sh
+++ b/lib/libXcomposite/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
;;
diff --git a/lib/libXcursor/ltmain.sh b/lib/libXcursor/ltmain.sh
index 25f21fea7..85faf0734 100644
--- a/lib/libXcursor/ltmain.sh
+++ b/lib/libXcursor/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
;;
diff --git a/lib/libXdamage/ltmain.sh b/lib/libXdamage/ltmain.sh
index 25f21fea7..85faf0734 100644
--- a/lib/libXdamage/ltmain.sh
+++ b/lib/libXdamage/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
;;
diff --git a/lib/libXdmcp/ltmain.sh b/lib/libXdmcp/ltmain.sh
index 25f21fea7..85faf0734 100644
--- a/lib/libXdmcp/ltmain.sh
+++ b/lib/libXdmcp/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
;;
diff --git a/lib/libXevie/ltmain.sh b/lib/libXevie/ltmain.sh
index 25f21fea7..85faf0734 100644
--- a/lib/libXevie/ltmain.sh
+++ b/lib/libXevie/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
;;
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
;;
diff --git a/lib/libXfixes/ltmain.sh b/lib/libXfixes/ltmain.sh
index 25f21fea7..85faf0734 100644
--- a/lib/libXfixes/ltmain.sh
+++ b/lib/libXfixes/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
;;
diff --git a/lib/libXfont/ltmain.sh b/lib/libXfont/ltmain.sh
index 25f21fea7..85faf0734 100644
--- a/lib/libXfont/ltmain.sh
+++ b/lib/libXfont/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
;;
diff --git a/lib/libXfontcache/ltmain.sh b/lib/libXfontcache/ltmain.sh
index 25f21fea7..85faf0734 100644
--- a/lib/libXfontcache/ltmain.sh
+++ b/lib/libXfontcache/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
;;
diff --git a/lib/libXft/ltmain.sh b/lib/libXft/ltmain.sh
index 25f21fea7..85faf0734 100644
--- a/lib/libXft/ltmain.sh
+++ b/lib/libXft/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
;;
diff --git a/lib/libXi/ltmain.sh b/lib/libXi/ltmain.sh
index 25f21fea7..85faf0734 100644
--- a/lib/libXi/ltmain.sh
+++ b/lib/libXi/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
;;
diff --git a/lib/libXinerama/ltmain.sh b/lib/libXinerama/ltmain.sh
index 25f21fea7..85faf0734 100644
--- a/lib/libXinerama/ltmain.sh
+++ b/lib/libXinerama/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
;;
diff --git a/lib/libXmu/ltmain.sh b/lib/libXmu/ltmain.sh
index 25f21fea7..85faf0734 100644
--- a/lib/libXmu/ltmain.sh
+++ b/lib/libXmu/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
;;
diff --git a/lib/libXp/ltmain.sh b/lib/libXp/ltmain.sh
index 25f21fea7..85faf0734 100644
--- a/lib/libXp/ltmain.sh
+++ b/lib/libXp/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
;;
diff --git a/lib/libXpm/ltmain.sh b/lib/libXpm/ltmain.sh
index 25f21fea7..85faf0734 100644
--- a/lib/libXpm/ltmain.sh
+++ b/lib/libXpm/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
;;
diff --git a/lib/libXprintAppUtil/ltmain.sh b/lib/libXprintAppUtil/ltmain.sh
index 25f21fea7..85faf0734 100644
--- a/lib/libXprintAppUtil/ltmain.sh
+++ b/lib/libXprintAppUtil/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
;;
diff --git a/lib/libXprintUtil/ltmain.sh b/lib/libXprintUtil/ltmain.sh
index 25f21fea7..85faf0734 100644
--- a/lib/libXprintUtil/ltmain.sh
+++ b/lib/libXprintUtil/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
;;
diff --git a/lib/libXrandr/ltmain.sh b/lib/libXrandr/ltmain.sh
index 25f21fea7..85faf0734 100644
--- a/lib/libXrandr/ltmain.sh
+++ b/lib/libXrandr/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
;;
diff --git a/lib/libXrender/ltmain.sh b/lib/libXrender/ltmain.sh
index 25f21fea7..85faf0734 100644
--- a/lib/libXrender/ltmain.sh
+++ b/lib/libXrender/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
;;
diff --git a/lib/libXt/ltmain.sh b/lib/libXt/ltmain.sh
index 25f21fea7..85faf0734 100644
--- a/lib/libXt/ltmain.sh
+++ b/lib/libXt/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
;;
diff --git a/lib/libXtst/ltmain.sh b/lib/libXtst/ltmain.sh
index 25f21fea7..85faf0734 100644
--- a/lib/libXtst/ltmain.sh
+++ b/lib/libXtst/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
;;
diff --git a/lib/libXv/ltmain.sh b/lib/libXv/ltmain.sh
index 25f21fea7..85faf0734 100644
--- a/lib/libXv/ltmain.sh
+++ b/lib/libXv/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
;;
diff --git a/lib/libXvMC/ltmain.sh b/lib/libXvMC/ltmain.sh
index 25f21fea7..85faf0734 100644
--- a/lib/libXvMC/ltmain.sh
+++ b/lib/libXvMC/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
;;
diff --git a/lib/libXxf86dga/ltmain.sh b/lib/libXxf86dga/ltmain.sh
index 25f21fea7..85faf0734 100644
--- a/lib/libXxf86dga/ltmain.sh
+++ b/lib/libXxf86dga/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
;;
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
;;
diff --git a/lib/libXxf86vm/ltmain.sh b/lib/libXxf86vm/ltmain.sh
index 25f21fea7..85faf0734 100644
--- a/lib/libXxf86vm/ltmain.sh
+++ b/lib/libXxf86vm/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
;;
diff --git a/lib/libdmx/ltmain.sh b/lib/libdmx/ltmain.sh
index 25f21fea7..85faf0734 100644
--- a/lib/libdmx/ltmain.sh
+++ b/lib/libdmx/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
;;
diff --git a/lib/libdrm/ltmain.sh b/lib/libdrm/ltmain.sh
index 25f21fea7..85faf0734 100644
--- a/lib/libdrm/ltmain.sh
+++ b/lib/libdrm/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
;;
diff --git a/lib/libfontenc/ltmain.sh b/lib/libfontenc/ltmain.sh
index 25f21fea7..85faf0734 100644
--- a/lib/libfontenc/ltmain.sh
+++ b/lib/libfontenc/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
;;
diff --git a/lib/liblbxutil/ltmain.sh b/lib/liblbxutil/ltmain.sh
index 25f21fea7..85faf0734 100644
--- a/lib/liblbxutil/ltmain.sh
+++ b/lib/liblbxutil/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
;;
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
;;
diff --git a/lib/libxkbfile/ltmain.sh b/lib/libxkbfile/ltmain.sh
index 25f21fea7..85faf0734 100644
--- a/lib/libxkbfile/ltmain.sh
+++ b/lib/libxkbfile/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
;;
diff --git a/lib/libxkbui/ltmain.sh b/lib/libxkbui/ltmain.sh
index 25f21fea7..85faf0734 100644
--- a/lib/libxkbui/ltmain.sh
+++ b/lib/libxkbui/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
;;