浏览代码

* 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 年之前
父节点
当前提交
c08f9e9657
共有 1 个文件被更改,包括 4 次插入1 次删除
  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
                 APackage.UnitDir:=DirNotFound
               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
           else if not (APackage.FTargetState in [tsCompiled, tsNoCompile]) then
             begin