aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/install/utility.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'libbuild2/install/utility.cxx')
-rw-r--r--libbuild2/install/utility.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/libbuild2/install/utility.cxx b/libbuild2/install/utility.cxx
index 17b1365..c2a581e 100644
--- a/libbuild2/install/utility.cxx
+++ b/libbuild2/install/utility.cxx
@@ -12,6 +12,8 @@ namespace build2
{
context& ctx (t.ctx);
+ // Note: go straight for the public variable pool.
+ //
const variable& var (*ctx.var_pool.find ("config.install.scope"));
if (const string* s = cast_null<string> (ctx.global_scope[var]))