git-svn-id: branches/wasm@46995 -
@@ -124,7 +124,7 @@ begin
if HasExports then
cmdstr := cmdstr + ' --export-dynamic'; //' --export-dynamic';
- cmdstr := cmdstr + ' --allow-undefined';
+ cmdstr := cmdstr + ' --no-entry --allow-undefined';
if (cs_link_strip in current_settings.globalswitches) then
begin