mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-15 06:09:30 +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)+'/',
|
||||
FileVersion);
|
||||
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)
|
||||
else
|
||||
PkgDependency.Free;
|
||||
|
Loading…
Reference in New Issue
Block a user