mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-27 12:09:32 +02:00
Opkman: Bug fix: remove package compiling restriction.
git-svn-id: trunk@59064 -
This commit is contained in:
parent
f249439c91
commit
8ee801d5b5
@ -168,13 +168,8 @@ function TPackageInstaller.CompilePackage(const AIDEPackage: TIDEPackage;
|
||||
ALazarusPkg: TLazarusPackage): Integer;
|
||||
begin
|
||||
Result := -1;
|
||||
{$if declared(lcl_version)}
|
||||
{$if (lcl_major > 0) and (lcl_minor > 6)}
|
||||
//DoCompilePackage function is only available with Laz 1.7 +
|
||||
DoOnPackageInstallProgress(imCompilePackage, ALazarusPkg);
|
||||
Result := PackageEditingInterface.DoCompilePackage(AIDEPackage, [pcfCleanCompile, pcfDoNotSaveEditorFiles], False);
|
||||
{$endif}
|
||||
{$endif}
|
||||
DoOnPackageInstallProgress(imCompilePackage, ALazarusPkg);
|
||||
Result := PackageEditingInterface.DoCompilePackage(AIDEPackage, [pcfCleanCompile, pcfDoNotSaveEditorFiles], False);
|
||||
end;
|
||||
|
||||
function TPackageInstaller.InstallPackage: Boolean;
|
||||
|
Loading…
Reference in New Issue
Block a user