Packager: Do not check if there are any units in the compiler-search path for packages build by fpmake

git-svn-id: trunk@59925 -
This commit is contained in:
joost 2018-12-28 16:55:34 +00:00
parent 4ddac1ec45
commit 78f73a7cd9

View File

@ -2635,6 +2635,7 @@ var
if (Pkg=nil) then exit;
Pkg.Flags:=Pkg.Flags+[lpfVisited];
if (Pkg.FirstRequiredDependency=nil)
or (Pkg.GetActiveBuildMethod=bmFPMake) // Packages compiled by FPMake almost always change units in the default fpc-search path. Checking of changed dependencies should be done using the mechanisms of fppkg.
or Pkg.IsVirtual or (Pkg.AutoUpdate<>pupAsNeeded) then exit;
// this package is compiled automatically and has dependencies
OutputDir:=ChompPathDelim(Pkg.GetOutputDirectory);