diff options
-rw-r--r-- | bpkg/pkg-build-collect.cxx | 3 | ||||
-rw-r--r-- | bpkg/pkg-build-collect.hxx | 4 |
2 files changed, 5 insertions, 2 deletions
diff --git a/bpkg/pkg-build-collect.cxx b/bpkg/pkg-build-collect.cxx index 47c5344..4ed8dc6 100644 --- a/bpkg/pkg-build-collect.cxx +++ b/bpkg/pkg-build-collect.cxx @@ -622,6 +622,9 @@ namespace bpkg merged_ids.push_back (c.id); + for (size_t mid: c.merged_ids) + merged_ids.push_back (mid); + // Merge dependents. // for (auto& d: c.dependents) diff --git a/bpkg/pkg-build-collect.hxx b/bpkg/pkg-build-collect.hxx index 1ce6962..8d34162 100644 --- a/bpkg/pkg-build-collect.hxx +++ b/bpkg/pkg-build-collect.hxx @@ -691,7 +691,7 @@ namespace bpkg // finalized or a further refinement is required. In the former case we // report the first encountered unsatisfied dependency constraint and // fail. Otherwise, we drop the cache and proceed with the next iteration of - // the execution plan refinement which may resolve these problem naturally. + // the execution plan refinement which may resolve these problems naturally. // struct unsatisfied_dependent { @@ -774,7 +774,7 @@ namespace bpkg { public: // The id of the cluster plus the ids of all the clusters that have been - // merged into it. + // merged into it directly or as their components. // size_t id; small_vector<size_t, 1> merged_ids; |