Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>2011-01-13 21:52:53 +0300
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>2011-01-13 21:52:53 +0300
commitd5802f24ce3ff84ea13ff67b749182a45c33ec8f (patch)
tree1f245034b959618b310e3234394ab7ebc6776f4d /ltmain.sh
parente82bcd79cd7d90e2ef258ecb76bc37f60da70a8a (diff)
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.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/ltmain.sh b/ltmain.sh
index cba8b4c7a..a03433f17 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