Darwin: don't try to print size statistics if the binary wasn't linked

This commit is contained in:
Jonas Maebe 2022-10-12 22:51:42 +02:00
parent a835d8b533
commit b150480c60

View File

@ -589,7 +589,7 @@ implementation
end;
{ Post process }
if success then
if success and not(cs_link_nolink in current_settings.globalswitches) then
success:=PostProcessExecutable(current_module.exefilename,false);
MakeExecutable:=success; { otherwise a recursive call to link method }