Skip to content

Commit

Permalink
Use GitHub release tarball instead of zlib.net
Browse files Browse the repository at this point in the history
Because zlib.net only provides the latest version of zlib and the old
versions are not available after the new version is released.
  • Loading branch information
kateinoigakukun committed Jan 23, 2024
1 parent 666dadd commit 03e5afe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ruby_wasm/build/product/zlib.rb
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ def build(executor)
"-o",
tarball_path,
"-L",
"https://zlib.net/zlib-#{ZLIB_VERSION}.tar.gz"
"https://github.com/madler/zlib/releases/download/v#{ZLIB_VERSION}/zlib-#{ZLIB_VERSION}.tar.gz"
executor.system "tar",
"xzf",
tarball_path,
Expand Down

0 comments on commit 03e5afe

Please sign in to comment.