aboutsummaryrefslogtreecommitdiff
path: root/build2/cc/link.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'build2/cc/link.cxx')
-rw-r--r--build2/cc/link.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/build2/cc/link.cxx b/build2/cc/link.cxx
index e2b8275..91c2739 100644
--- a/build2/cc/link.cxx
+++ b/build2/cc/link.cxx
@@ -1485,7 +1485,7 @@ namespace build2
}
else
{
- ld = &cast<process_path> (rs[x_path]);
+ ld = &cpath;
// Add the option that triggers building a shared library and take
// care of any extras (e.g., import library).