[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[no subject]
From: |
Ileana Dumitrescu |
Date: |
Fri, 18 Oct 2024 10:40:05 -0400 (EDT) |
branch: development
commit 8b4e43f67edff02b535cef28eb9a259affe2b2bd
Author: Alastair McKinstry <mckinstry@debian.org>
AuthorDate: Sat Sep 8 20:32:08 2018 +0300
libtool.m4: Add spaces before -L in grep searches
Current searching for "-L" in link paths is over-greedy and
incorrectly handles paths with -L in them.
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=896861
---
m4/libtool.m4 | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/m4/libtool.m4 b/m4/libtool.m4
index 322ca1fe..17b7d56c 100644
--- a/m4/libtool.m4
+++ b/m4/libtool.m4
@@ -6507,7 +6507,7 @@ if test yes != "$_lt_caught_CXX_error"; then
# Commands to make compiler produce verbose output that lists
# what "hidden" libraries, object files and flags are used when
# linking a shared library.
- output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 |
$GREP -v "^Configured with:" | $GREP "[[-]]L"'
+ output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 |
$GREP -v "^Configured with:" | $GREP " [[-]]L"'
else
GXX=no
@@ -6948,7 +6948,7 @@ if test yes != "$_lt_caught_CXX_error"; then
# explicitly linking system object files so we need to strip them
# from the output so that they don't get included in the library
# dependencies.
- output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v
conftest.$objext 2>&1) | $GREP "[[-]]L"`; list= ; for z in $templist; do case
$z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list
$z";;esac; done; func_echo_all "$list"'
+ output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v
conftest.$objext 2>&1) | $GREP " [[-]]L"`; list= ; for z in $templist; do case
$z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list
$z";;esac; done; func_echo_all "$list"'
;;
*)
if test yes = "$GXX"; then
@@ -7287,7 +7287,7 @@ if test yes != "$_lt_caught_CXX_error"; then
# Commands to make compiler produce verbose output that lists
# what "hidden" libraries, object files and flags are used when
# linking a shared library.
- output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext
2>&1 | $GREP -v "^Configured with:" | $GREP "[[-]]L"'
+ output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext
2>&1 | $GREP -v "^Configured with:" | $GREP " [[-]]L"'
else
# FIXME: insert proper C++ library support
@@ -7371,7 +7371,7 @@ if test yes != "$_lt_caught_CXX_error"; then
# Commands to make compiler produce verbose output that lists
# what "hidden" libraries, object files and flags are used when
# linking a shared library.
- output_verbose_link_cmd='$CC -shared $CFLAGS -v
conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "[[-]]L"'
+ output_verbose_link_cmd='$CC -shared $CFLAGS -v
conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP " [[-]]L"'
else
# g++ 2.7 appears to require '-G' NOT '-shared' on this
# platform.
@@ -7382,7 +7382,7 @@ if test yes != "$_lt_caught_CXX_error"; then
# Commands to make compiler produce verbose output that lists
# what "hidden" libraries, object files and flags are used when
# linking a shared library.
- output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext
2>&1 | $GREP -v "^Configured with:" | $GREP "[[-]]L"'
+ output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext
2>&1 | $GREP -v "^Configured with:" | $GREP " [[-]]L"'
fi
_LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-R $wl$libdir'
- development updated (3cf528a4 -> 0e5ef3c2), Ileana Dumitrescu, 2024/10/18
- [no subject], Ileana Dumitrescu, 2024/10/18
- [no subject], Ileana Dumitrescu, 2024/10/18
- [no subject], Ileana Dumitrescu, 2024/10/18
- [no subject], Ileana Dumitrescu, 2024/10/18
- [no subject], Ileana Dumitrescu, 2024/10/18
- [no subject],
Ileana Dumitrescu <=
- [no subject], Ileana Dumitrescu, 2024/10/18
- [no subject], Ileana Dumitrescu, 2024/10/18
- [no subject], Ileana Dumitrescu, 2024/10/18
- [no subject], Ileana Dumitrescu, 2024/10/18
- [no subject], Ileana Dumitrescu, 2024/10/18