We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 63b3ac8 commit 99ab643Copy full SHA for 99ab643
lib/ruby_wasm/build_system/product/zlib.rb
@@ -28,6 +28,14 @@ def name
28
product_build_dir
29
end
30
31
+ def configure_args
32
+ args = %w[
33
+ CHOST=linux
34
+ ]
35
+
36
+ args + tools_args
37
+ end
38
39
def build
40
return if Dir.exist?(install_root)
41
@@ -38,9 +46,9 @@ def build
46
chdir: File.dirname(product_build_dir),
47
exception: true
48
- system "#{tools_args.join(" ")} ./configure --static",
49
+ system "#{configure_args.join(" ")} ./configure --static",
42
50
chdir: product_build_dir
43
- system "make install DESTDIR=#{destdir} AR='#{@toolchain.ar}' ARFLAGS='rcD'",
51
+ system "make install DESTDIR=#{destdir}",
44
52
45
53
54
0 commit comments