diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2010-12-21 22:37:54 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2010-12-21 22:37:54 +0000 |
commit | c4ab5ca14370406cdccaff868b2e655a2f21aa72 (patch) | |
tree | fe4b10d38dab0bd087dd41002537b2d49b48fed1 /tools/libtool/patches/110-dont-use-target-dir-for-relinking.patch | |
parent | e010aa6408573009e03a0dc86769b62712fad106 (diff) | |
download | mtk-20170518-c4ab5ca14370406cdccaff868b2e655a2f21aa72.zip mtk-20170518-c4ab5ca14370406cdccaff868b2e655a2f21aa72.tar.gz mtk-20170518-c4ab5ca14370406cdccaff868b2e655a2f21aa72.tar.bz2 |
libtool: extend all ltmain.m4sh patches to cover ltmain.sh as well, prevent configure from embedding host library paths
SVN-Revision: 24752
Diffstat (limited to 'tools/libtool/patches/110-dont-use-target-dir-for-relinking.patch')
-rw-r--r-- | tools/libtool/patches/110-dont-use-target-dir-for-relinking.patch | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tools/libtool/patches/110-dont-use-target-dir-for-relinking.patch b/tools/libtool/patches/110-dont-use-target-dir-for-relinking.patch index f2681ae..c780589 100644 --- a/tools/libtool/patches/110-dont-use-target-dir-for-relinking.patch +++ b/tools/libtool/patches/110-dont-use-target-dir-for-relinking.patch @@ -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 |