aboutsummaryrefslogtreecommitdiff
path: root/build2/cc/link-rule.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2018-11-02 12:44:17 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2018-11-02 12:44:17 +0200
commite78c6c8dd0d4fb66b888c962d50da33c6704c395 (patch)
tree6ec460e830ec463c91f2b996745241da7b292d26 /build2/cc/link-rule.cxx
parent009e3bdd4743fb6bb74334ec5567f43830df1722 (diff)
Use rule-specific variables for backlink value
Diffstat (limited to 'build2/cc/link-rule.cxx')
-rw-r--r--build2/cc/link-rule.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/build2/cc/link-rule.cxx b/build2/cc/link-rule.cxx
index ba6a22d..a9ee0e9 100644
--- a/build2/cc/link-rule.cxx
+++ b/build2/cc/link-rule.cxx
@@ -799,14 +799,14 @@ namespace build2
// The problem is the Windows DLL assembly "logic" refuses to
// recognize a junction as a valid assembly for some reason. So we
// are going to resort to copy-link (i.e., a real directory with a
- // bunch on links).
+ // bunch of links).
//
// Interestingly, the directory symlink works just fine under
- // Wine. So we only resort to copy-link'ing if we are running
- // on Windows.
+ // Wine. So we only resort to copy-link'ing if we are running on
+ // Windows.
//
#ifdef _WIN32
- dir.target->assign (var_backlink) = "copy";
+ dir.target->state[a].assign (var_backlink) = "copy";
#endif
match_recipe (dir, group_recipe); // Set recipe and unlock.
}