mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-10 19:35:58 +02:00
Packager: Only re-create fpmake.pp when it is actually used to compile the package
git-svn-id: trunk@59970 -
This commit is contained in:
parent
b7986e28cf
commit
ac7b445bbf
@ -4171,7 +4171,7 @@ begin
|
|||||||
end;
|
end;
|
||||||
|
|
||||||
// create fpmake.pp
|
// create fpmake.pp
|
||||||
if ((pcfCreateFpmakeFile in Flags) or (APackage.BuildMethod in [bmBoth, bmFPMake])
|
if ((pcfCreateFpmakeFile in Flags) or (APackage.GetActiveBuildMethod = bmFPMake)
|
||||||
or (APackage.CompilerOptions.CreateMakefileOnBuild)) then begin
|
or (APackage.CompilerOptions.CreateMakefileOnBuild)) then begin
|
||||||
Result:=WriteFpmake(APackage);
|
Result:=WriteFpmake(APackage);
|
||||||
if Result<>mrOk then begin
|
if Result<>mrOk then begin
|
||||||
|
Loading…
Reference in New Issue
Block a user