IDE+lazbuild: build IDE: pass idemake.cfg with quotes if needed

git-svn-id: trunk@62209 -
This commit is contained in:
mattias 2019-11-06 16:15:34 +00:00
parent e7b92f572c
commit 9f8d8b56f1

View File

@ -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;