+2006-02-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
+
+ * ltmain.in (link mode): Fix logic for adding run paths to
+ also add paths for installed libtool libraries in case
+ `-static' is used.
+
2006-01-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* doc/libtool.texi (titlepage): Remove superfluous word.
if test "$linkmode,$pass" = "prog,link"; then
if test -n "$library_names" &&
- { test "$prefer_static_libs" = no || test -z "$old_library"; }; then
+ { { test "$prefer_static_libs" = no ||
+ test "$prefer_static_libs,$installed" = "built,yes"; } ||
+ test -z "$old_library"; }; then
# We need to hardcode the library path
if test -n "$shlibpath_var" && test -z "$avoidtemprpath" ; then
# Make sure the rpath contains only unique directories.