From e78c6c8dd0d4fb66b888c962d50da33c6704c395 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 2 Nov 2018 12:44:17 +0200 Subject: Use rule-specific variables for backlink value --- build2/cc/link-rule.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'build2/cc/link-rule.cxx') 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. } -- cgit v1.1