Skip to content

Commit a7c09b8

Browse files
authored
Merge pull request #274 from ledsun/update_zlib
Update zlib version to resolve build errors.
2 parents d0e1445 + 3c4930c commit a7c09b8

File tree

1 file changed

+3
-2
lines changed
  • lib/ruby_wasm/build_system/product

1 file changed

+3
-2
lines changed

lib/ruby_wasm/build_system/product/zlib.rb

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ module RubyWasm
44
class ZlibProduct < AutoconfProduct
55
attr_reader :target
66

7-
ZLIB_VERSION = "1.2.13"
7+
ZLIB_VERSION = "1.3"
88

99
def initialize(build_dir, target, toolchain)
1010
@build_dir = build_dir
@@ -35,7 +35,8 @@ def build
3535
FileUtils.rm_rf product_build_dir
3636

3737
system "curl -L https://zlib.net/zlib-#{ZLIB_VERSION}.tar.gz | tar xz",
38-
chdir: File.dirname(product_build_dir)
38+
chdir: File.dirname(product_build_dir),
39+
exception: true
3940

4041
system "#{tools_args.join(" ")} ./configure --static",
4142
chdir: product_build_dir

0 commit comments

Comments
 (0)