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:
joost 2019-01-01 17:04:45 +00:00
parent b7986e28cf
commit ac7b445bbf

View File

@ -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