aboutsummaryrefslogtreecommitdiff
path: root/build2/cc/windows-rpath.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'build2/cc/windows-rpath.cxx')
-rw-r--r--build2/cc/windows-rpath.cxx2
1 files changed, 1 insertions, 1 deletions
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)
{