diff options
Diffstat (limited to 'build2/prerequisite.cxx')
-rw-r--r-- | build2/prerequisite.cxx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/build2/prerequisite.cxx b/build2/prerequisite.cxx index e28d082..4adfc92 100644 --- a/build2/prerequisite.cxx +++ b/build2/prerequisite.cxx @@ -52,6 +52,7 @@ namespace build2 insert (const string* proj, const target_type& tt, dir_path dir, + dir_path out, string name, const string* ext, scope& s, @@ -62,11 +63,13 @@ namespace build2 // Find or insert. // - auto r (emplace (proj, tt, move (dir), move (name), ext, s)); + auto r (emplace (proj, tt, move (dir), move (out), move (name), ext, s)); prerequisite& p (const_cast<prerequisite&> (*r.first)); // Update extension if the existing prerequisite has it unspecified. // + // @@ Changing the key! + // if (p.ext != ext) { l5 ([&]{ |