From fb5c711d0a2ccac1bc014a9a8580e85753e4067b Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 21 Sep 2022 14:18:03 +0200 Subject: Fix regression in dynamic dependency extraction, byproduct mode --- libbuild2/dyndep.hxx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'libbuild2/dyndep.hxx') diff --git a/libbuild2/dyndep.hxx b/libbuild2/dyndep.hxx index 0789e78..a6f800e 100644 --- a/libbuild2/dyndep.hxx +++ b/libbuild2/dyndep.hxx @@ -210,13 +210,14 @@ namespace build2 const srcout_map& = {}); // As above but do not insert the target if it doesn't already exist. This - // function also returns NULL if the target exists but is implied (that - // is, not declared in a buildfile). + // function also returns NULL if the target exists but is dynamic (that + // is, not real or implied), unless the dynamic argument is true. // static pair find_file (tracer&, const char* what, action, const scope& base, const target&, path& prerequisite, bool cache, bool normalized, + bool dynamic, const function&, const target_type& fallback, const function& = nullptr, -- cgit v1.1