+ show a "linking" message before invoking the linker for the wasm32-embedded target

This commit is contained in:
Nikolay Nikolov 2022-07-15 16:09:52 +03:00
parent 46dcd4da76
commit dba189f4af

View File

@ -2172,8 +2172,10 @@ function TLinkerEmbedded_Wasm.MakeSharedLibrary: boolean;
tmp : TCmdStrListItem;
tempFileName : ansistring;
begin
//Result := true;
//Result:=inherited MakeSharedLibrary;
Result:=false;
if not(cs_link_nolink in current_settings.globalswitches) then
Message1(exec_i_linking,current_module.sharedlibfilename);
mapstr:='';
if (cs_link_map in current_settings.globalswitches) then
mapstr:='-Map '+maybequoted(ChangeFileExt(current_module.sharedlibfilename,'.map'));