Skip to content

Conversation

MSP-Greg
Copy link
Contributor

I've been doing this for quite a while with the ruby-loco mswin build, and it's fully tested and also used in CI elsewhere.

run: |
$zlib = 'zlib1211.zip'
curl -fsSL -o $zlib --retry 10 https://zlib.net/$zlib
&'C:\Program Files\7-Zip\7z.exe' x -osrc/ext/zlib $zlib
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I didn't know that &.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As you've probably deduced, needed due to the space in the path. Above does generate a zlib.dll file, which needs to be available to the build.

The install code I use generates a manifest and the needed dll's are in bin/ruby_builtin_dlls. The mswin CI here does not run test-all or test-spec...

@nobu nobu merged commit bf758ef into ruby:master Aug 1, 2020
@MSP-Greg MSP-Greg deleted the vendor-zlib branch August 1, 2020 13:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants