mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-21 08:19:24 +02:00
IDE+lazbuild: build IDE: pass idemake.cfg with quotes if needed
git-svn-id: branches/fixes_2_0@62210 -
This commit is contained in:
parent
5b4b84611a
commit
7266d53e7d
@ -569,7 +569,7 @@ begin
|
||||
// for $IFDEF.
|
||||
if pos(' ',MakeIDECfgFilename)>0 then
|
||||
MakeIDECfgFilename:=ExtractShortPathNameUTF8(MakeIDECfgFilename);
|
||||
AppendExtraOption('@'+MakeIDECfgFilename,false);
|
||||
AppendExtraOption('@'+MakeIDECfgFilename);
|
||||
end;
|
||||
end;
|
||||
|
||||
@ -854,7 +854,7 @@ begin
|
||||
if aOption='' then exit;
|
||||
if fExtraOptions<>'' then
|
||||
fExtraOptions:=fExtraOptions+' ';
|
||||
if AutoQuote then
|
||||
if AutoQuote and (pos(' ',aOption)>0) then
|
||||
fExtraOptions:=fExtraOptions+AnsiQuotedStr(aOption,'"')
|
||||
else
|
||||
fExtraOptions:=fExtraOptions+aOption;
|
||||
|
Loading…
Reference in New Issue
Block a user