aboutsummaryrefslogtreecommitdiff
path: root/build2/cc/link.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2017-05-25 15:40:53 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2017-05-25 15:40:53 +0200
commit240062520c3bddc3e961f76517277e0ee8113693 (patch)
tree94ae422712577d115e14ea8ab0a41359c4c15426 /build2/cc/link.cxx
parent427efeae13912b66e1c030c7645a2b1f322dff4d (diff)
Extract C++ modules information
For now we do it for every translation unit in order to test our C++ lexer and parser.
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).