mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-05-14 22:32:59 +02:00
IDE: searching make in PATH when building IDE
git-svn-id: trunk@21366 -
This commit is contained in:
parent
6e27090dbc
commit
ebccebbc91
@ -347,9 +347,11 @@ begin
|
||||
Tool.EnvironmentOverrides.Values['LANG']:= 'en_US';
|
||||
if CompilerPath<>'' then
|
||||
Tool.EnvironmentOverrides.Values['PP']:=CompilerPath;
|
||||
if not FileExistsUTF8(Tool.Filename) then
|
||||
Tool.Filename:=FindDefaultExecutablePath(Tool.Filename);
|
||||
if not FileExistsUTF8(Tool.Filename) then begin
|
||||
Tool.Filename:=FindDefaultMakePath;
|
||||
if not FileExistsUTF8(Tool.Filename) then begin
|
||||
if not FileExistsUTF8(MakePath) then begin
|
||||
MessageDlg(lisMakeNotFound,
|
||||
Format(lisTheProgramMakeWasNotFoundThisToolIsNeededToBuildLa, ['"',
|
||||
'"', #13, #13])
|
||||
|
Loading…
Reference in New Issue
Block a user