diff options
Diffstat (limited to 'build2/cli')
-rw-r--r-- | build2/cli/rule.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/build2/cli/rule.cxx b/build2/cli/rule.cxx index f5405a5..706830c 100644 --- a/build2/cli/rule.cxx +++ b/build2/cli/rule.cxx @@ -136,7 +136,7 @@ namespace build2 if (g == nullptr) g = &targets.insert<cli_cxx> (t.dir, t.out, t.name, trace); - g->prerequisites.push_back (p.as_prerequisite_for (*g)); + g->prerequisites.push_back (p.as_prerequisite ()); } else l4 ([&]{trace << ".cli file stem '" << p.name () << "' " |