diff options
Diffstat (limited to 'libbuild2/test/init.cxx')
-rw-r--r-- | libbuild2/test/init.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libbuild2/test/init.cxx b/libbuild2/test/init.cxx index 539cdec..c2fc831 100644 --- a/libbuild2/test/init.cxx +++ b/libbuild2/test/init.cxx @@ -125,7 +125,7 @@ namespace build2 value& v (rs.assign (d.test_target)); if (!v || v.empty ()) - v = cast<target_triplet> (rs.ctx.global_scope["build.host"]); + v = *rs.ctx.build_host; } extra.set_module (new module (move (d))); |