diff options
author | Ralf Wildenhues <Ralf.Wildenhues@gmx.de> | 2011-01-13 18:52:53 +0000 |
---|---|---|
committer | Ralf Wildenhues <Ralf.Wildenhues@gmx.de> | 2011-01-13 18:52:53 +0000 |
commit | 37281e1cda34fc4641c4cf0c80a81d034e674b0d (patch) | |
tree | f26cd47b18d8db217a680f01b0bd9861e00a7787 /ltmain.sh | |
parent | e8559a4f30f1d735488ae4a7ca4b18ec97dba09f (diff) | |
download | binutils-redhat-37281e1cda34fc4641c4cf0c80a81d034e674b0d.tar.gz |
Backport from Libtool: Fix relink mode to use absolute path if hardcode_minus_L.
/:
* ltmain.sh (relink): Use absolute path when hardcoding with -L.
Diffstat (limited to 'ltmain.sh')
-rw-r--r-- | ltmain.sh | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |