bbfd12500306d5a26696d7af84a7c50fb1660b43
[openwrt/staging/mkresin.git] / tools / libtool / patches / 110-dont-use-target-dir-for-relinking.patch
1 --- a/libltdl/config/ltmain.m4sh
2 +++ b/libltdl/config/ltmain.m4sh
3 @@ -6120,7 +6120,6 @@ func_mode_link ()
4 test "$hardcode_direct_absolute" = no; then
5 add="$libdir/$linklib"
6 elif test "$hardcode_minus_L" = yes; then
7 - add_dir="-L$libdir"
8 add="-l$name"
9 elif test "$hardcode_shlibpath_var" = yes; then
10 case :$finalize_shlibpath: in
11 --- a/libltdl/config/ltmain.sh
12 +++ b/libltdl/config/ltmain.sh
13 @@ -6907,7 +6907,6 @@ func_mode_link ()
14 test "$hardcode_direct_absolute" = no; then
15 add="$libdir/$linklib"
16 elif test "$hardcode_minus_L" = yes; then
17 - add_dir="-L$libdir"
18 add="-l$name"
19 elif test "$hardcode_shlibpath_var" = yes; then
20 case :$finalize_shlibpath: in