From 5fdac8d4f952d0b64d682111c2dd8f3a74fb34d3 Mon Sep 17 00:00:00 2001 From: Marcel Raad Date: Thu, 4 Oct 2018 10:12:26 +0200 Subject: [PATCH] runtests: use Windows paths for Windows curl curl generated by CMake's Visual Studio generator has "Windows" in the version number. --- tests/runtests.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/runtests.pl b/tests/runtests.pl index b83dc4646..4345df2d0 100755 --- a/tests/runtests.pl +++ b/tests/runtests.pl @@ -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();