소스 검색

- 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);
   end;
 
-  if HasExports then
-    cmdstr := cmdstr + ' --export-dynamic'; //' --export-dynamic';
+//  if HasExports then
+//    cmdstr := cmdstr + ' --export-dynamic'; //' --export-dynamic';
 
   cmdstr := cmdstr + ' --no-entry';