From e34116f7dea7c3f35da3a3ae43d14110d4c70fc1 Mon Sep 17 00:00:00 2001 From: Nikolay Nikolov Date: Wed, 16 Feb 2022 05:34:09 +0200 Subject: [PATCH] - removed --allow-undefined linker option when compiling a WASI library --- compiler/systems/t_wasi.pas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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