mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-07 17:15: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;
|
||||
|
||||
// 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
|
||||
Result:=WriteFpmake(APackage);
|
||||
if Result<>mrOk then begin
|
||||
|
Loading…
Reference in New Issue
Block a user