Explorar o código

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

Nikolay Nikolov %!s(int64=3) %!d(string=hai) anos
pai
achega
7711ba610a
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      compiler/systems/t_wasi.pas

+ 2 - 2
compiler/systems/t_wasi.pas

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