mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-05 10:37:58 +02:00
lazbuild: lowercase pkgname.compiled files
This commit is contained in:
parent
484e6b3efd
commit
efec47d82c
@ -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;
|
||||
|
@ -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;
|
||||
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user