From 65ce598d17a662b4c8b9a8df02b619549c5824c3 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 16 Sep 2022 08:39:05 +0200 Subject: Register fallback dist meta-operation rule for out of project targets The problematic scenario this fixes is an ad hoc pattern rule (which we register for dist in order to inject any additional sources; see parser.cxx for details) that pulls a tool imported from the system (say /usr/bin/xxd). --- libbuild2/parser.cxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'libbuild2/parser.cxx') diff --git a/libbuild2/parser.cxx b/libbuild2/parser.cxx index 03b912d..e21fc8d 100644 --- a/libbuild2/parser.cxx +++ b/libbuild2/parser.cxx @@ -1307,7 +1307,9 @@ namespace build2 // recipe for dist. // // And the same for the configure meta-operation to, for - // example, make sure a hinted ad hoc rule matches. + // example, make sure a hinted ad hoc rule matches. @@ Hm, + // maybe we fixed this with action-specific hints? But the + // injection part above may still apply. // if (a.meta_operation () == perform_id) { -- cgit v1.1