OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Backport from Libtool: Fix relink mode to use absolute path if hardcode_minus_L.
[pf3gnuchains/gcc-fork.git]
/
ltmain.sh
diff --git
a/ltmain.sh
b/ltmain.sh
index
cba8b4c
..
a03433f
100644
(file)
--- 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
test "$hardcode_direct_absolute" = no; then
add="$dir/$linklib"
elif test "$hardcode_minus_L" = yes; then
- add_dir="-L$dir"
+ add_dir="-L$
abs
dir"
# Try looking first in the location we're being installed to.
if test -n "$inst_prefix_dir"; then
case $libdir in
# Try looking first in the location we're being installed to.
if test -n "$inst_prefix_dir"; then
case $libdir in