mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-02 09:40:27 +02:00
codetools: fixed IsCompilerExecutable allowing fpc*, bug #36689
git-svn-id: branches/fixes_2_0@62652 -
This commit is contained in:
parent
67fb0f4032
commit
68bb23dcf7
@ -3874,7 +3874,7 @@ begin
|
||||
|
||||
// check fpc<something>
|
||||
// Note: fpc.exe is just a wrapper, it can call pas2js
|
||||
if CompareFilenames(ShortFilename,'fpc')=0 then
|
||||
if CompareFilenames(LeftStr(ShortFilename,3),'fpc')=0 then
|
||||
exit(true);
|
||||
|
||||
ErrorMsg:='fpc executable should start with fpc or ppc';
|
||||
|
||||
BIN
ide/lazarus.res
BIN
ide/lazarus.res
Binary file not shown.
Loading…
Reference in New Issue
Block a user