mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-27 19:42:28 +02:00
Applied patch from Vincent Snijders
git-svn-id: trunk@4732 -
This commit is contained in:
parent
9077473f14
commit
6526725baa
@ -2591,8 +2591,12 @@ begin
|
|||||||
// get all usage options
|
// get all usage options
|
||||||
AddOptionsList:=GetUsageOptionsList(PkgList);
|
AddOptionsList:=GetUsageOptionsList(PkgList);
|
||||||
PkgList.Free;
|
PkgList.Free;
|
||||||
// combine options of same type
|
if AddOptionsList<>nil then begin
|
||||||
GatherInheritedOptions(AddOptionsList,InheritedOptionStrings);
|
// combine options of same type
|
||||||
|
GatherInheritedOptions(AddOptionsList,InheritedOptionStrings);
|
||||||
|
AddOptionsList.Free;
|
||||||
|
end;
|
||||||
|
|
||||||
// convert options to compiler parameters
|
// convert options to compiler parameters
|
||||||
Result:=InheritedOptionsToCompilerParameters(InheritedOptionStrings,[]);
|
Result:=InheritedOptionsToCompilerParameters(InheritedOptionStrings,[]);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user