- removed --allow-undefined linker option when compiling a WASI library

This commit is contained in:
Nikolay Nikolov 2022-02-16 05:34:09 +02:00
parent 590c878690
commit e34116f7de

View File

@ -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