[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
branch master updated: libtool.m4: Check for space after -l flag
From: |
Ileana Dumitrescu |
Subject: |
branch master updated: libtool.m4: Check for space after -l flag |
Date: |
Sat, 17 Feb 2024 11:41:38 -0500 |
This is an automated email from the git hooks/post-receive script.
ildumi pushed a commit to branch master
in repository libtool.
The following commit(s) were added to refs/heads/master by this push:
new fb617e2b libtool.m4: Check for space after -l flag
fb617e2b is described below
commit fb617e2ba0809218486323823b74f706cedd9aac
Author: Ileana Dumitrescu <ileanadumitrescu95@gmail.com>
AuthorDate: Sat Feb 17 18:34:03 2024 +0200
libtool.m4: Check for space after -l flag
The -R and -L flags are currently checked if they have a space behind
them. -l should be added to the list of cases checked.
* m4/libtool.m4: Check for a space after the -l flag.
---
m4/libtool.m4 | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/m4/libtool.m4 b/m4/libtool.m4
index d9725fdf..66b12b5a 100644
--- a/m4/libtool.m4
+++ b/m4/libtool.m4
@@ -7555,10 +7555,11 @@ if AC_TRY_EVAL(ac_compile); then
case $prev$p in
-L* | -R* | -l*)
- # Some compilers place space between "-{L,R}" and the path.
+ # Some compilers place space between "-{L,R,l}" and the path.
# Remove the space.
if test x-L = x"$p" ||
- test x-R = x"$p"; then
+ test x-R = x"$p" ||
+ test x-l = x"$p"; then
prev=$p
continue
fi
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- branch master updated: libtool.m4: Check for space after -l flag,
Ileana Dumitrescu <=