mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-15 15:09:28 +02:00
IDE+lazbuild: build IDE: pass idemake.cfg with quotes if needed
git-svn-id: trunk@62209 -
This commit is contained in:
parent
e7b92f572c
commit
9f8d8b56f1
@ -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