- don't pass --export-dynamic to the linker when linking a library for the WASI target

This commit is contained in:
Nikolay Nikolov 2022-02-16 05:59:54 +02:00
parent 2a33948521
commit 7711ba610a

View File

@ -206,8 +206,8 @@ begin
tmp := TCmdStrListItem(tmp.Next);
end;
if HasExports then
cmdstr := cmdstr + ' --export-dynamic'; //' --export-dynamic';
// if HasExports then
// cmdstr := cmdstr + ' --export-dynamic'; //' --export-dynamic';
cmdstr := cmdstr + ' --no-entry';