Переглянути джерело

* Do not choke on a non existing compiler executable during initialization

git-svn-id: trunk@40748 -
joost 6 роки тому
батько
коміт
0bdfc51a0b
1 змінених файлів з 4 додано та 0 видалено
  1. 4 0
      packages/fppkg/src/pkgoptions.pp

+ 4 - 0
packages/fppkg/src/pkgoptions.pp

@@ -1077,6 +1077,10 @@ var
 begin
   if Compiler='' then
     Exit;
+  // This is not the place to complain when the compiler does
+  // not exist at all.
+  if not FileExists(Compiler) then
+    Exit;
   if (CompilerCPU=cpuNone) or
    (CompilerOS=osNone) or
    (CompilerVersion='') then