mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-10 01:36:16 +02:00
external tools are now searched in PATH
git-svn-id: trunk@3425 -
This commit is contained in:
parent
c5786f8b63
commit
1ad9311c59
@ -1115,6 +1115,13 @@ var
|
||||
SearchPath: string;
|
||||
Delim: char;
|
||||
begin
|
||||
if FilenameIsAbsolute(Programname) then begin
|
||||
if FileExists(Programname) then
|
||||
Result:=Programname
|
||||
else
|
||||
Result:='';
|
||||
exit;
|
||||
end;
|
||||
Flags:=[];
|
||||
if not WithBaseDirectory then
|
||||
Include(Flags,sffDontSearchInBasePath);
|
||||
|
Loading…
Reference in New Issue
Block a user