mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-22 19:59:37 +02:00
Opkman: Bug fix: remove package compiling restriction
git-svn-id: branches/fixes_2_0@59076 -
This commit is contained in:
parent
73e27bc41f
commit
bbe6d6932e
@ -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