diff --git a/compiler/systems/t_wasi.pas b/compiler/systems/t_wasi.pas index f8c4b57085..14981962e1 100644 --- a/compiler/systems/t_wasi.pas +++ b/compiler/systems/t_wasi.pas @@ -214,7 +214,7 @@ begin if HasExports then cmdstr := cmdstr + ' --export-dynamic'; //' --export-dynamic'; - cmdstr := cmdstr + ' --no-entry --allow-undefined'; + cmdstr := cmdstr + ' --no-entry'; if (cs_link_strip in current_settings.globalswitches) then begin