aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--build2/cc/link-rule.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/build2/cc/link-rule.cxx b/build2/cc/link-rule.cxx
index 3d99535..9980fa3 100644
--- a/build2/cc/link-rule.cxx
+++ b/build2/cc/link-rule.cxx
@@ -947,7 +947,7 @@ namespace build2
// Windows.
//
#ifdef _WIN32
- dir.state[a].assign (var_backlink) = "copy";
+ dir.state[a].assign (ctx.var_backlink) = "copy";
#endif
}
}