adding run paths to also add paths for installed libtool
libraries in case `-static' is used.
+2006-02-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
+
+ * libltdl/config/ltmain.m4sh (func_mode_link): Fix logic for
+ adding run paths to also add paths for installed libtool
+ libraries in case `-static' is used.
+
2006-02-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* Makefile.am (TESTSUITE_AT): List testsuite files in the order
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.