Commit 3752f75a by John David Anglin Committed by Ralf Wildenhues

backport: ltmain.sh (relink): Use absolute path when hardcoding with -L.

Backport from Libtool: Fix relink mode to use absolute path if hardcode_minus_L.

/:
	* ltmain.sh (relink): Use absolute path when hardcoding with -L.

From-SVN: r168762
parent bae900e1
2011-01-13 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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment