From: Viktor Szakats Date: Fri, 3 Nov 2023 22:31:49 +0000 (+0000) Subject: appveyor: make VS2008-built curl tool runnable X-Git-Tag: curl-8_5_0~146 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=026122efd3b897564de335f8c577f40180ad6d20;p=thirdparty%2Fcurl.git appveyor: make VS2008-built curl tool runnable By linking the CRT statically. This avoids the error about missing runtime DLL `MSVCR90.dll` when running the freshly built `curl.exe`. Closes #12263 --- diff --git a/appveyor.yml b/appveyor.yml index 3c812dc4f6..175f298d53 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -48,7 +48,6 @@ environment: SHARED: 'ON' TESTING: 'OFF' DISABLED_TESTS: '' - SKIP_RUN: 'Needs missing MSVCR90.dll' - job_name: 'CMake, VS2022, Release, x64, OpenSSL 3, WebSockets, Unity, Build-only' APPVEYOR_BUILD_WORKER_IMAGE: 'Visual Studio 2022' BUILD_SYSTEM: CMake @@ -333,6 +332,10 @@ build_script: if($env:PRJ_GEN.Contains('Visual Studio')) { $options += '-DCMAKE_VS_GLOBALS=TrackFileAccess=false' } + if($env:PRJ_GEN -eq 'Visual Studio 9 2008') { + # Without this it fails to run due to missing MSVCR90.dll + $options += '-DCURL_STATIC_CRT=ON' + } Write-Host 'CMake options:' $options cmake . $options