This commit is contained in:
Ondrej Pokorny 2023-01-01 10:49:58 +01:00
parent 09845999ff
commit 71ac105bc7

View File

@ -4262,9 +4262,12 @@ begin
end;
end;
Result := LazarusIDE.DoCallPackageBuildingHandler(APackage);
if Result<>mrOK then
Exit;
if Assigned(LazarusIDE) then
begin
Result := LazarusIDE.DoCallPackageBuildingHandler(APackage);
if Result<>mrOK then
Exit;
end;
// create external tool to run the compiler
//DebugLn('TLazPackageGraph.CompilePackage WorkingDir="',APackage.Directory,'"');