+ chmod 755 on executable files produced by internal linker. I missed this "small" detail for half a year because all development was going on a NTFS drive where everything is executable.

git-svn-id: trunk@23374 -
This commit is contained in:
sergei 2013-01-13 17:18:11 +00:00
parent 252744ad24
commit a1503b51f2

View File

@ -147,6 +147,9 @@ Implementation
uses
cutils,cfileutl,cstreams,
{$ifdef hasUnix}
baseunix,
{$endif hasUnix}
script,globals,verbose,comphook,ppu,fpccrc,
aasmbase,aasmtai,aasmdata,aasmcpu,
owbase,owar,ogmap;
@ -1484,6 +1487,9 @@ Implementation
begin
IsSharedLibrary:=false;
result:=RunLinkScript(current_module.exefilename);
{$ifdef hasUnix}
fpchmod(current_module.exefilename,493);
{$endif hasUnix}
end;