libtool upgrade to 2.4.6 - 6/n: fix typo introduced in libtool-2.4.3

i.e. wrong -L/-R detection. see:
https://debbugs.gnu.org/cgi/bugreport.cgi?bug=21137 | 22895 | 31900 | 36762
This commit is contained in:
Ozkan Sezer 2021-12-01 01:50:10 +03:00
parent 8b13673c19
commit e8881b0d3e
1 changed files with 3 additions and 2 deletions

View File

@ -7529,8 +7529,9 @@ if AC_TRY_EVAL(ac_compile); then
-L* | -R* | -l*)
# Some compilers place space between "-{L,R}" and the path.
# Remove the space.
if test x-L = "$p" ||
test x-R = "$p"; then
if test x-L = "x$p" ||
test x-R = "x$p" ||
test x-l = "x$p"; then
prev=$p
continue
fi