* libltdl/config/ltmain.m4sh (func_mode_link): Use absolute path
when hardcoding with -L.
Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
+2011-01-09 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> (tiny change)
+
+ Fix relink mode to use absolute path if hardcode_minus_L.
+ * libltdl/config/ltmain.m4sh (func_mode_link): Use absolute path
+ when hardcoding with -L.
+
2011-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Fix $wl setting for Solaris Studio 12.2 f90 on GNU/Linux.
test "$hardcode_direct_absolute" = no; then
add="$dir/$linklib"
elif test "$hardcode_minus_L" = yes; then
- add_dir="-L$dir"
+ add_dir="-L$absdir"
# Try looking first in the location we're being installed to.
if test -n "$inst_prefix_dir"; then
case $libdir in