Skip to content

Commit

Permalink
libtool upgrade to 2.4.6 - 6/n: fix typo introduced in libtool-2.4.3
Browse files Browse the repository at this point in the history
i.e. wrong -L/-R detection. see:
https://debbugs.gnu.org/cgi/bugreport.cgi?bug=21137 | 22895 | 31900 | 36762
  • Loading branch information
sezero committed Dec 2, 2021
1 parent 64ae7e7 commit bceb996
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions acinclude/libtool.m4
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit bceb996

Please sign in to comment.