diff options
author | Vincent Lefevre <vincent@vinc17.net> | 2021-11-21 19:59:54 -0600 |
---|---|---|
committer | Alex Ameen <alex.ameen.tx@gmail.com> | 2021-11-21 19:59:54 -0600 |
commit | 0904164dd5b57b3230dce04207738ce961591762 (patch) | |
tree | ae00411686455d006ac6f1000437220e68784c66 | |
parent | da2e352735722917bf0786284411262195a6a3f6 (diff) | |
download | libtool-0904164dd5b57b3230dce04207738ce961591762.tar.gz |
libtool: correct m4 quoting in sed expression
* m4/libtool.m4: properly escape character set in sed expression
Copyright-paperwork-exempt: Yes
-rw-r--r-- | m4/libtool.m4 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/m4/libtool.m4 b/m4/libtool.m4 index 9899ec1f..873ebb8b 100644 --- a/m4/libtool.m4 +++ b/m4/libtool.m4 @@ -5068,7 +5068,7 @@ dnl Note also adjust exclude_expsyms for C++ above. _LT_TAGVAR(whole_archive_flag_spec, $1)= fi supports_anon_versioning=no - case `$LD -v | $SED -e 's/([^)]\+)\s\+//' 2>&1` in + case `$LD -v | $SED -e 's/([[^)]]\+)\s\+//' 2>&1` in *GNU\ gold*) supports_anon_versioning=yes ;; *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.10.*) ;; # catch versions < 2.11 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... |