lazbuild: fixed crash

This commit is contained in:
mattias 2023-07-28 17:25:03 +01:00
parent ad640c5e38
commit 9bb7b14f14

View File

@ -889,6 +889,7 @@ var
// CompileHint: use absolute paths, same as TBuildManager.DoCheckIfProjectNeedsCompilation
CompilerParams:=Project1.CompilerOptions.MakeCompilerParams([ccloAbsolutePaths]);
CompilerParams.Add(SrcFilename);
CmdLineParams:=CompilerParams;
if (CompReason in Project1.CompilerOptions.CompileReasons) then begin
// compile