aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/parser.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2022-09-16 08:39:05 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2022-09-16 08:39:05 +0200
commit65ce598d17a662b4c8b9a8df02b619549c5824c3 (patch)
treebd0e3dd010120b154cf4490e458f0c4e34ece93d /libbuild2/parser.cxx
parent505021d9297fcbc9232f7d5c2de432d5316dad08 (diff)
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).
Diffstat (limited to 'libbuild2/parser.cxx')
-rw-r--r--libbuild2/parser.cxx4
1 files changed, 3 insertions, 1 deletions
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)
{