| 1 | --- a/libltdl/config/ltmain.m4sh |
| 2 | +++ b/libltdl/config/ltmain.m4sh |
| 3 | @@ -6104,7 +6104,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 | @@ -6893,7 +6893,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 |
| 21 | |