File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed
lib/ruby_wasm/build/product Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ module RubyWasm
5
5
class OpenSSLProduct < AutoconfProduct
6
6
attr_reader :target
7
7
8
- OPENSSL_VERSION = "3.0.5 "
8
+ OPENSSL_VERSION = "3.2.0 "
9
9
10
10
def initialize ( build_dir , target , toolchain )
11
11
@build_dir = build_dir
@@ -41,21 +41,23 @@ def configure_args
41
41
-no-sock
42
42
-no-dgram
43
43
--libdir=lib
44
- -DNO_SYSLOG
45
44
-Wl,--allow-undefined
46
45
]
47
46
if @target == "wasm32-unknown-wasi"
48
47
args . concat %w[
49
48
-D_WASI_EMULATED_SIGNAL
50
49
-D_WASI_EMULATED_PROCESS_CLOCKS
51
50
-D_WASI_EMULATED_MMAN
51
+ -D_WASI_EMULATED_GETPID
52
+ -DNO_CHMOD
53
+ -DHAVE_FORK=0
52
54
]
53
55
end
54
56
args + tools_args
55
57
end
56
58
57
59
def build ( executor )
58
- return if Dir . exist? ( install_root )
60
+ return if File . exist? ( File . join ( install_root , "lib" , "libssl.a" ) )
59
61
60
62
executor . mkdir_p File . dirname ( product_build_dir )
61
63
executor . rm_rf product_build_dir
@@ -79,7 +81,7 @@ def build(executor)
79
81
# OpenSSL build system doesn't have well support for parallel build, so force -j1.
80
82
executor . system "make" ,
81
83
"-j1" ,
82
- "install_sw " ,
84
+ "install_dev " ,
83
85
"DESTDIR=#{ destdir } " ,
84
86
chdir : product_build_dir
85
87
end
You can’t perform that action at this time.
0 commit comments