lazbuild: lowercase pkgname.compiled files

This commit is contained in:
mattias 2023-06-30 20:50:09 +02:00
parent 484e6b3efd
commit efec47d82c
3 changed files with 5 additions and 5 deletions

View File

@ -3877,7 +3877,7 @@ end;
function TLazPackage.GetStateFilename(UseOverride: boolean): string;
begin
Result:=AppendPathDelim(GetOutputDirectory(UseOverride))+Name+'.compiled';
Result:=AppendPathDelim(GetOutputDirectory(UseOverride))+lowercase(Name)+'.compiled';
end;
function TLazPackage.GetSrcFilename: string;

View File

@ -4768,7 +4768,7 @@ begin
s:=s+' -$(DEL) $(COMPILER_UNITTARGETDIR)/'+MainUnitName+'$(PPUEXT)'+e;
s:=s+''+e;
s:=s+'compiled:'+e;
s:=s+' $(CPPROG) -f Makefile.compiled $(COMPILER_UNITTARGETDIR)/'+APackage.Name+'.compiled'+e;
s:=s+' $(CPPROG) -f Makefile.compiled $(COMPILER_UNITTARGETDIR)/'+lowercase(APackage.Name)+'.compiled'+e;
s:=s+''+e;
s:=s+'all: cleartarget $(COMPILER_UNITTARGETDIR) '+MainUnitName+'$(PPUEXT) compiled'+e;
if DistCleanDir<>'' then begin
@ -4951,7 +4951,7 @@ begin
exit;
end;
FpmakeFPCFilename:=AppendPathDelim(APackage.Directory)+'fpmake.pp';
FPmakeCompiledFilename:=AppendPathDelim(APackage.Directory)+APackage.Name+'.compiled';
FPmakeCompiledFilename:=AppendPathDelim(APackage.Directory)+lowercase(APackage.Name)+'.compiled';
SrcFilename:=APackage.GetSrcFilename;

View File

@ -50,8 +50,8 @@ begin
T := P.Targets.AddImplicitUnit('lazaruspackageintf.pas');
// copy the compiled file, so the IDE knows how the package was compiled
P.Sources.AddSrc('FCL.compiled');
P.InstallFiles.Add('FCL.compiled',AllOSes,'$(unitinstalldir)');
P.Sources.AddSrc('fcl.compiled');
P.InstallFiles.Add('fcl.compiled',AllOSes,'$(unitinstalldir)');
end;
end;