浏览代码

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

Nikolay Nikolov 3 年之前
父节点
当前提交
7711ba610a
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      compiler/systems/t_wasi.pas

+ 2 - 2
compiler/systems/t_wasi.pas

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