File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed
lib/ruby_wasm/build/product Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -90,10 +90,15 @@ def do_legacy_extconf(executor, crossruby)
90
90
"--disable=gems" ,
91
91
# HACK: top_srcdir is required to find ruby headers
92
92
"-e" ,
93
- %Q($top_srcdir="#{ source . src_dir } ") ,
93
+ %Q($top_srcdir=ENV["top_srcdir"]= "#{ source . src_dir } ") ,
94
94
# HACK: extout is required to find config.h
95
95
"-e" ,
96
- %Q($extout="#{ crossruby . build_dir } /.ext") ,
96
+ %Q($extout=ENV["extout"]="#{ crossruby . build_dir } /.ext") ,
97
+ *( @features . support_component_model? ? [ ] : [
98
+ # HACK: skip have_devel check since ruby is not installed yet
99
+ "-e" ,
100
+ "$have_devel = true" ,
101
+ ] ) ,
97
102
# HACK: force static ext build by imitating extmk
98
103
"-e" ,
99
104
"$static = true; trace_var(:$static) {|v| $static = true }" ,
You can’t perform that action at this time.
0 commit comments