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 | d5802f24ce3ff84ea13ff67b749182a45c33ec8f (patch) | |
tree | 1f245034b959618b310e3234394ab7ebc6776f4d | |
parent | e82bcd79cd7d90e2ef258ecb76bc37f60da70a8a (diff) | |
download | cygnal-d5802f24ce3ff84ea13ff67b749182a45c33ec8f.tar.gz cygnal-d5802f24ce3ff84ea13ff67b749182a45c33ec8f.tar.bz2 cygnal-d5802f24ce3ff84ea13ff67b749182a45c33ec8f.zip |
Backport from Libtool: Fix relink mode to use absolute path if hardcode_minus_L.
/:
* ltmain.sh (relink): Use absolute path when hardcoding with -L.
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | ltmain.sh | 2 |
2 files changed, 5 insertions, 1 deletions
@@ -1,3 +1,7 @@ +2010-12-10 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> + + * ltmain.sh (relink): Use absolute path when hardcoding with -L. + 2011-01-13 Joel Brobecker <brobecker@adacore.com> * configure.ac: Remove readline, mmalloc, and gdb from noconfigdirs @@ -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 |