diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2017-01-23 10:53:33 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2017-01-23 10:53:33 +0200 |
commit | 1c7d67d9895c2bdbef13541b154ea17d25b8d515 (patch) | |
tree | ac06cf710a0104c51fdb4c4c47db3e245ac2c793 /build2/cli/rule.cxx | |
parent | 91495e646c688eade6b46f21bb40e3da8b8d6f1a (diff) |
Go back to storing scope instead of target in prerequisite
Turns out this was semantically the right way to do it.
Diffstat (limited to 'build2/cli/rule.cxx')
-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 () << "' " |