Browse Source

* Set the state of externally compiled but not installed packages to tsNoCompile, to avoid triggering a recompile of packages that depend on it

git-svn-id: trunk@18784 -
joost 14 years ago
parent
commit
c08f9e9657
1 changed files with 4 additions and 1 deletions
  1. 4 1
      packages/fpmkunit/src/fpmkunit.pp

+ 4 - 1
packages/fpmkunit/src/fpmkunit.pp

@@ -4282,7 +4282,10 @@ begin
               if not SysDirectoryExists(APackage.UnitDir) then
               if not SysDirectoryExists(APackage.UnitDir) then
                 APackage.UnitDir:=DirNotFound
                 APackage.UnitDir:=DirNotFound
               else
               else
-                APackage.FTargetState:=tsCompiled;
+                // Set the state to tsNoCompile and not tsCompiled. Because packages
+                // in the tsCompiled state trigger a rebuild of packages that depend
+                // on it.
+                APackage.FTargetState:=tsNoCompile;
             end
             end
           else if not (APackage.FTargetState in [tsCompiled, tsNoCompile]) then
           else if not (APackage.FTargetState in [tsCompiled, tsNoCompile]) then
             begin
             begin