浏览代码

* Use ExeSearch instead of FileSearch to find compiler executable

git-svn-id: trunk@12948 -
joost 16 年之前
父节点
当前提交
d4c2a35c75
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      compiler/utils/fpc.pp

+ 1 - 1
compiler/utils/fpc.pp

@@ -98,7 +98,7 @@ program fpc;
        end
       else
        begin
-         path:=FileSearch(ppcbin,getenvironmentvariable('PATH'));
+         path:=ExeSearch(ppcbin,getenvironmentvariable('PATH'));
          if path<>'' then
           begin
             ppcbin:=path;