diff --git a/tools/Windows_dependencies_setup_MSVC.bat b/tools/Windows_dependencies_setup_MSVC.bat index b9e5aeda2..349a3e6b0 100644 --- a/tools/Windows_dependencies_setup_MSVC.bat +++ b/tools/Windows_dependencies_setup_MSVC.bat @@ -35,28 +35,28 @@ cd external echo Setting up curl -if exist curl-8.1.2_3-win64-mingw\ ( - rmdir /S /Q curl-8.1.2_3-win64-mingw +if exist curl-8.2.1_11-win64-mingw\ ( + rmdir /S /Q curl-8.2.1_11-win64-mingw ) if exist curl\ ( rmdir /S /Q curl ) -if exist curl-8.1.2_3-win64-mingw.zip ( - del curl-8.1.2_3-win64-mingw.zip +if exist curl-8.2.1_11-win64-mingw.zip ( + del curl-8.2.1_11-win64-mingw.zip ) -curl -O https://curl.se/windows/dl-8.1.2_3/curl-8.1.2_3-win64-mingw.zip -7z x curl-8.1.2_3-win64-mingw.zip +curl -O https://curl.se/windows/dl-8.2.1_11/curl-8.2.1_11-win64-mingw.zip +7z x curl-8.2.1_11-win64-mingw.zip -if not exist curl-8.1.2_3-win64-mingw\bin\ ( +if not exist curl-8.2.1_11-win64-mingw\bin\ ( echo curl directory is missing, aborting. cd .. goto end ) -rename curl-8.1.2_3-win64-mingw curl +rename curl-8.2.1_11-win64-mingw curl cd curl\bin diff --git a/tools/Windows_dependencies_setup_MinGW.sh b/tools/Windows_dependencies_setup_MinGW.sh index e6663d60b..d72cce790 100644 --- a/tools/Windows_dependencies_setup_MinGW.sh +++ b/tools/Windows_dependencies_setup_MinGW.sh @@ -22,10 +22,10 @@ cd external echo -e "\nSetting up curl" rm -rf curl* -curl -O https://curl.se/windows/dl-8.1.2_3/curl-8.1.2_3-win64-mingw.zip -unzip curl-8.1.2_3-win64-mingw.zip +curl -O https://curl.se/windows/dl-8.2.1_11/curl-8.2.1_11-win64-mingw.zip +unzip curl-8.2.1_11-win64-mingw.zip -if [ ! -d curl-8.1.2_3-win64-mingw ]; then +if [ ! -d curl-8.2.1_11-win64-mingw ]; then echo "curl directory is missing, aborting." exit fi @@ -33,7 +33,7 @@ fi # Needed due to some kind of file system race condition that sometimes occurs on Windows. sleep 3 -mv curl-8.1.2_3-win64-mingw curl +mv curl-8.2.1_11-win64-mingw curl cp -p curl/bin/libcurl-x64.dll ..