mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-18 07:59:28 +02:00
IDE: Do not remove completely valid FPMake-dependencies with a minus-sign in the name (like fcl-db)
git-svn-id: trunk@59721 -
This commit is contained in:
parent
0e016b16dc
commit
4ef117880d
@ -952,7 +952,9 @@ begin
|
|||||||
PkgDependency.LoadFromXMLConfig(XMLConfig,ThePath+'Item'+IntToStr(i+1)+'/',
|
PkgDependency.LoadFromXMLConfig(XMLConfig,ThePath+'Item'+IntToStr(i+1)+'/',
|
||||||
FileVersion);
|
FileVersion);
|
||||||
PkgDependency.HoldPackage:=HoldPackages;
|
PkgDependency.HoldPackage:=HoldPackages;
|
||||||
if PkgDependency.IsMakingSense then
|
// IsMakingSense checks if the package-name is a valid identifier. This is
|
||||||
|
// not applicable to FPMake-packages.
|
||||||
|
if (PkgDependency.DependencyType=pdtFPMake) or PkgDependency.IsMakingSense then
|
||||||
List.Add(PkgDependency)
|
List.Add(PkgDependency)
|
||||||
else
|
else
|
||||||
PkgDependency.Free;
|
PkgDependency.Free;
|
||||||
|
Loading…
Reference in New Issue
Block a user