1
0
mirror of https://github.com/moparisthebest/curl synced 2024-11-16 22:45:03 -05:00

runtests: use Windows paths for Windows curl

curl generated by CMake's Visual Studio generator has "Windows" in the
version number.
This commit is contained in:
Marcel Raad 2018-10-04 10:12:26 +02:00
parent 3b4f243722
commit 5fdac8d4f9
No known key found for this signature in database
GPG Key ID: 07ADACB610D796DA

View File

@ -2685,7 +2685,7 @@ sub checksystem {
if($curl =~ /linux|bsd|solaris|darwin/) {
$has_ldpreload = 1;
}
if($curl =~ /win32|mingw(32|64)/) {
if($curl =~ /win32|Windows|mingw(32|64)/) {
# This is a Windows MinGW build or native build, we need to use
# Win32-style path.
$pwd = pathhelp::sys_native_current_path();