diff options
Diffstat (limited to 'build2')
-rw-r--r-- | build2/b.cxx | 4 | ||||
-rw-r--r-- | build2/cc/windows-rpath.cxx | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/build2/b.cxx b/build2/b.cxx index 32d42aa..5ea4f02 100644 --- a/build2/b.cxx +++ b/build2/b.cxx @@ -1341,7 +1341,11 @@ main (int argc, char* argv[]) trace << " src_root: " << src_root; trace << " forwarded: " << (forwarded ? "true" : "false"); if (auto l = rs.vars[var_amalgamation]) + { trace << " amalgamation: " << cast<dir_path> (l); + trace << " strong scope: " << *rs.strong_scope (); + trace << " weak scope: " << *rs.weak_scope (); + } } // Enter project-wide (as opposed to global) variable overrides. diff --git a/build2/cc/windows-rpath.cxx b/build2/cc/windows-rpath.cxx index d18e36d..5b49033 100644 --- a/build2/cc/windows-rpath.cxx +++ b/build2/cc/windows-rpath.cxx @@ -293,7 +293,7 @@ namespace build2 // Symlink or copy the DLLs. // { - const scope& as (*t.root_scope ().weak_scope ()); // Amalgamation. + const scope& as (t.weak_scope ()); // Amalgamation. auto link = [&as, &ad] (const path& f, const path& l) { |