mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-30 17:40:28 +02:00
* Use ExeSearch instead of FileSearch to find compiler executable
git-svn-id: trunk@12948 -
This commit is contained in:
parent
51b49d324e
commit
d4c2a35c75
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user