فهرست منبع

* 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