From 639c02bd1dc9892fecadb353b23d35028668183d Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 15 Mar 2022 10:55:03 +0200 Subject: Don't consider mtime of failed to unmatch prerequisite in ad hoc recipe --- libbuild2/cc/link-rule.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'libbuild2/cc') diff --git a/libbuild2/cc/link-rule.cxx b/libbuild2/cc/link-rule.cxx index 2e644cc..c05522d 100644 --- a/libbuild2/cc/link-rule.cxx +++ b/libbuild2/cc/link-rule.cxx @@ -1224,7 +1224,8 @@ namespace build2 // update them. Note that we have to do it before any further matches // since they may rely on these prerequisites already being updated (for // example, object file matches may need the headers to be already - // updated). + // updated). We also must do it after matching all our prerequisite + // libraries since they may generate headers that we depend upon. // // Note that we ignore the result and whether it renders us out of date, // leaving it to the common execute logic in perform_update(). -- cgit v1.1