mirror of
https://github.com/moparisthebest/curl
synced 2024-12-24 09:08:49 -05:00
runtests: skip ld_preload tests on macOS
The LD_PRELOAD functionality doesn't exist on macOS, so skip any tests requiring it. Fixes #2394 Closes #3106 Reported-by: Github user @jakirkham Reviewed-by: Daniel Stenberg <daniel@haxx.se>
This commit is contained in:
parent
c10a424429
commit
b6bcb6e689
@ -2682,7 +2682,7 @@ sub checksystem {
|
|||||||
$curl =~ s/^(.*)(libcurl.*)/$1/g;
|
$curl =~ s/^(.*)(libcurl.*)/$1/g;
|
||||||
|
|
||||||
$libcurl = $2;
|
$libcurl = $2;
|
||||||
if($curl =~ /linux|bsd|solaris|darwin/) {
|
if($curl =~ /linux|bsd|solaris/) {
|
||||||
$has_ldpreload = 1;
|
$has_ldpreload = 1;
|
||||||
}
|
}
|
||||||
if($curl =~ /win32|Windows|mingw(32|64)/) {
|
if($curl =~ /win32|Windows|mingw(32|64)/) {
|
||||||
|
Loading…
Reference in New Issue
Block a user