mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-09 05:56:05 +02:00
don't run svn2revisioninc if make without linking
git-svn-id: trunk@7961 -
This commit is contained in:
parent
c67e75e666
commit
feea1058fa
@ -359,6 +359,9 @@ begin
|
||||
// append target OS
|
||||
if Options.TargetOS<>'' then
|
||||
Tool.CmdLineParams:=Tool.CmdLineParams+' OS_TARGET='+Options.TargetOS;
|
||||
// don't run svn2revisioninc if no executable is created
|
||||
if blfWithoutLinkingIDE in Flags then
|
||||
Tool.CmdLineParams:=Tool.CmdLineParams+' USESVN2REVISIONINC=0';
|
||||
// run
|
||||
Result:=ExternalTools.Run(Tool,Macros);
|
||||
if Result<>mrOk then exit;
|
||||
|
Loading…
Reference in New Issue
Block a user