X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=ltmain.sh;h=a03433f178941e5be51c26d8ef35957e245693f1;hb=48adcd8ed515c2a4960713fc4ff3f98930062069;hp=cba8b4c7a565df5b89934ad2820d28f9bc553138;hpb=3725885a6563fe9c77b251ab5328633279fdeafa;p=deliverable%2Fbinutils-gdb.git diff --git a/ltmain.sh b/ltmain.sh index cba8b4c7a5..a03433f178 100644 --- a/ltmain.sh +++ b/ltmain.sh @@ -5928,7 +5928,7 @@ func_mode_link () 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