1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Overwrite all existing files when extracting zlib

To prevent CI failure like
https://ci.appveyor.com/project/ruby/ruby/builds/36494552/job/a3ow8atl19786tep
This commit is contained in:
Takashi Kokubun 2020-11-24 19:26:40 -08:00
parent 63ad55cd88
commit 26e3aea94f
No known key found for this signature in database
GPG key ID: 6FFC433B12EE23DD

View file

@ -54,7 +54,7 @@ for:
- mkdir \usr\local\include
- mkdir \usr\local\lib
- curl -fsSL -o zlib%zlib_version:.=%.zip --retry 10 https://zlib.net/zlib%zlib_version:.=%.zip
- 7z x -o%APPVEYOR_BUILD_FOLDER%\ext\zlib zlib%zlib_version:.=%.zip
- 7z x -aoa -o%APPVEYOR_BUILD_FOLDER%\ext\zlib zlib%zlib_version:.=%.zip
- for %%I in (%OPENSSL_DIR%\*.dll) do mklink /h \usr\local\bin\%%~nxI %%I
- attrib +r /s /d
- mkdir %Platform%-mswin_%vs%