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)
9090 "--disable=gems" ,
9191 # HACK: top_srcdir is required to find ruby headers
9292 "-e" ,
93- %Q($top_srcdir="#{ source . src_dir } ") ,
93+ %Q($top_srcdir=ENV["top_srcdir"]= "#{ source . src_dir } ") ,
9494 # HACK: extout is required to find config.h
9595 "-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+ ] ) ,
97102 # HACK: force static ext build by imitating extmk
98103 "-e" ,
99104 "$static = true; trace_var(:$static) {|v| $static = true }" ,
You can’t perform that action at this time.
0 commit comments