lazbuild: pass absolute paths to compiler, to make sure that external tools resolve symlinks correctly

git-svn-id: trunk@39457 -
This commit is contained in:
mattias 2012-12-06 16:17:41 +00:00
parent 53feb116ae
commit 6ff833e38d

View File

@ -826,8 +826,8 @@ begin
else
CompilerFilename:=Project1.GetCompilerFilename;
//DebugLn(['TLazBuildApplication.BuildProject CompilerFilename="',CompilerFilename,'" CompilerPath="',Project1.CompilerOptions.CompilerPath,'"']);
CompilerParams:=Project1.CompilerOptions.MakeOptionsString(SrcFilename,[])
+' '+PrepareCmdLineOption(SrcFilename);
CompilerParams:=Project1.CompilerOptions.MakeOptionsString(SrcFilename,[ccloAbsolutePaths])
+' '+PrepareCmdLineOption(SrcFilename);
NeedBuildAllFlag:=false;
if (crCompile in Project1.CompilerOptions.CompileReasons) then begin