lazbuild: fixed compilation

git-svn-id: trunk@41292 -
This commit is contained in:
mattias 2013-05-19 13:00:40 +00:00
parent 15dc88089b
commit 4b9f7a38e7

View File

@ -631,8 +631,8 @@ end;
procedure TLazBuildApplication.CompilePackage(APackage: TLazPackage;
Flags: TPkgCompileFlags);
begin
if APackage.AutoCreated then
Error(ErrorBuildFailed,APackage.IDAsString+' is an auto created package');
if APackage.Missing then
Error(ErrorBuildFailed,APackage.IDAsString+' lpk file missing');
// check graph for circles and broken dependencies
if not (pcfDoNotCompileDependencies in Flags) then begin