mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-19 02:59:19 +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.
|
// for $IFDEF.
|
||||||
if pos(' ',MakeIDECfgFilename)>0 then
|
if pos(' ',MakeIDECfgFilename)>0 then
|
||||||
MakeIDECfgFilename:=ExtractShortPathNameUTF8(MakeIDECfgFilename);
|
MakeIDECfgFilename:=ExtractShortPathNameUTF8(MakeIDECfgFilename);
|
||||||
AppendExtraOption('@'+MakeIDECfgFilename,false);
|
AppendExtraOption('@'+MakeIDECfgFilename);
|
||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
@ -854,7 +854,7 @@ begin
|
|||||||
if aOption='' then exit;
|
if aOption='' then exit;
|
||||||
if fExtraOptions<>'' then
|
if fExtraOptions<>'' then
|
||||||
fExtraOptions:=fExtraOptions+' ';
|
fExtraOptions:=fExtraOptions+' ';
|
||||||
if AutoQuote then
|
if AutoQuote and (pos(' ',aOption)>0) then
|
||||||
fExtraOptions:=fExtraOptions+AnsiQuotedStr(aOption,'"')
|
fExtraOptions:=fExtraOptions+AnsiQuotedStr(aOption,'"')
|
||||||
else
|
else
|
||||||
fExtraOptions:=fExtraOptions+aOption;
|
fExtraOptions:=fExtraOptions+aOption;
|
||||||
|
Loading…
Reference in New Issue
Block a user