Skip to content

Commit b842a82

Browse files
Configure extconf with baseruby
To use latest --target-rbconfig option, we need to use head ruby to run extconf.rb
1 parent 641fcaf commit b842a82

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/ruby_wasm/build/product/crossruby.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ def do_extconf(executor, crossruby)
8080
"--target-rbconfig=#{rbconfig_rb}",
8181
]
8282
extconf_args << "--enable-component-model" if @features.support_component_model?
83-
executor.system Gem.ruby, *extconf_args
83+
executor.system crossruby.baseruby_path, *extconf_args
8484
end
8585

8686
def do_legacy_extconf(executor, crossruby)

0 commit comments

Comments
 (0)