libtool: extend all ltmain.m4sh patches to cover ltmain.sh as well, prevent configure from embedding host library paths

SVN-Revision: 24752
This commit is contained in:
Jo-Philipp Wich
2010-12-21 22:37:54 +00:00
parent e010aa6408
commit c4ab5ca143
5 changed files with 96 additions and 7 deletions

View File

@@ -8,3 +8,13 @@
add="-l$name"
elif test "$hardcode_shlibpath_var" = yes; then
case :$finalize_shlibpath: in
--- a/libltdl/config/ltmain.sh
+++ b/libltdl/config/ltmain.sh
@@ -6893,7 +6893,6 @@ func_mode_link ()
test "$hardcode_direct_absolute" = no; then
add="$libdir/$linklib"
elif test "$hardcode_minus_L" = yes; then
- add_dir="-L$libdir"
add="-l$name"
elif test "$hardcode_shlibpath_var" = yes; then
case :$finalize_shlibpath: in