aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/scope.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'libbuild2/scope.hxx')
-rw-r--r--libbuild2/scope.hxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/libbuild2/scope.hxx b/libbuild2/scope.hxx
index 9f88dc9..f78a565 100644
--- a/libbuild2/scope.hxx
+++ b/libbuild2/scope.hxx
@@ -501,6 +501,12 @@ namespace build2
// See also auto_project_env below.
//
vector<const char*> environment;
+
+ // A checksum of the above environment variables (empty if there are
+ // none). This can be used to take into account project environment
+ // when, for example, caching environment-sensitive information.
+ //
+ string environment_checksum;
};
unique_ptr<root_extra_type> root_extra;