Only ask for WAMR-specific build options for WAMR builds

This commit is contained in:
2026-06-09 13:51:40 +02:00
parent c5c5172f65
commit 454a85043f
3 changed files with 40 additions and 27 deletions

View File

@ -152,9 +152,9 @@ sub build {
rmtree($bd);
make_path($bd);
copy_auxiliary( $module, $bd );
build_libiwasm( $module, $bd, $target );
if ( $mode eq 'aot' || $mode eq 'interp' ) {
build_libiwasm( $module, $bd, $target );
compile_wasm_module( $module, $bd );
if ( $mode eq 'aot' ) {
compile_wasm_aot( $module, $bd, $target );