mirror of
https://github.com/curl/curl.git
synced 2026-07-24 19:17:20 +03:00
runtests: fix LD_PRELOAD detection for cmake-built curl binaries
CMake builds by default don't include a triplet in the `curl -V` output,
but a CMake-specific OS string, which is usually capitalized or stylized,
e.g. "Linux", or "FreeBSD". Make the regexp expression case-insensitive
to handle this.
Follow-up to 171b623759 #17653
Closes #17756
This commit is contained in:
parent
2a9dfe275d
commit
7b0b03c057
1 changed files with 1 additions and 1 deletions
|
|
@ -545,7 +545,7 @@ sub checksystemfeatures {
|
|||
$curl =~ s/^(.*)(libcurl.*)/$1/g || die "Failure determining curl binary version";
|
||||
|
||||
$libcurl = $2;
|
||||
if($curl =~ /linux|bsd|solaris/) {
|
||||
if($curl =~ /linux|bsd|solaris/i) {
|
||||
# system supports LD_PRELOAD/LD_LIBRARY_PATH; may be disabled later
|
||||
$feature{"ld_preload"} = 1;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue