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

git-svn-id: branches/fixes_2_0@62210 -
This commit is contained in:
mattias 2019-11-06 16:15:52 +00:00
parent 5b4b84611a
commit 7266d53e7d

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;