[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[no subject]
From: |
Ileana Dumitrescu |
Date: |
Tue, 22 Oct 2024 13:16:29 -0400 (EDT) |
branch: master
commit 0bad1a6edfae5333ec440ec7e24ffd7d119a27c8
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 054b3abf..03c41063 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'
- [no subject], (continued)
- [no subject], Ileana Dumitrescu, 2024/10/22
- [no subject], Ileana Dumitrescu, 2024/10/22
- [no subject], Ileana Dumitrescu, 2024/10/22
- [no subject], Ileana Dumitrescu, 2024/10/22
- [no subject], Ileana Dumitrescu, 2024/10/22
- [no subject], Ileana Dumitrescu, 2024/10/22
- [no subject], Ileana Dumitrescu, 2024/10/22
- [no subject], Ileana Dumitrescu, 2024/10/22
- [no subject], Ileana Dumitrescu, 2024/10/22
- [no subject], Ileana Dumitrescu, 2024/10/22
- [no subject],
Ileana Dumitrescu <=
- [no subject], Ileana Dumitrescu, 2024/10/22
- [no subject], Ileana Dumitrescu, 2024/10/22
- [no subject], Ileana Dumitrescu, 2024/10/22
- [no subject], Ileana Dumitrescu, 2024/10/22