Opkman: Add pcfCompileDependenciesClean flag to prevent "incompatible ppu" error.

git-svn-id: trunk@61813 -
This commit is contained in:
balazs 2019-09-04 11:20:15 +00:00
parent 6decc9e2aa
commit d2f267dd05

View File

@ -169,7 +169,7 @@ function TPackageInstaller.CompilePackage(const AIDEPackage: TIDEPackage;
begin
Result := -1;
DoOnPackageInstallProgress(imCompilePackage, ALazarusPkg);
Result := PackageEditingInterface.DoCompilePackage(AIDEPackage, [pcfCleanCompile, pcfDoNotSaveEditorFiles], False);
Result := PackageEditingInterface.DoCompilePackage(AIDEPackage, [pcfCleanCompile, pcfCompileDependenciesClean, pcfDoNotSaveEditorFiles], False);
end;
function TPackageInstaller.InstallPackage: Boolean;