aboutsummaryrefslogtreecommitdiff
path: root/bpkg/pkg-configure.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'bpkg/pkg-configure.cxx')
-rw-r--r--bpkg/pkg-configure.cxx7
1 files changed, 6 insertions, 1 deletions
diff --git a/bpkg/pkg-configure.cxx b/bpkg/pkg-configure.cxx
index 2801539..291929b 100644
--- a/bpkg/pkg-configure.cxx
+++ b/bpkg/pkg-configure.cxx
@@ -371,9 +371,12 @@ namespace bpkg
// etc) as well as their sources.
//
vector<config_variable> srcs;
+ string checksum;
if (!simulate)
{
+ checksum = ps.config_checksum ();
+
pair<strings, vector<config_variable>> rvs (move (ps).collect_config ());
strings& vs (rvs.first);
@@ -395,7 +398,8 @@ namespace bpkg
return configure_prerequisites_result {move (prereqs),
move (vars),
- move (srcs)};
+ move (srcs),
+ move (checksum)};
}
@@ -767,6 +771,7 @@ namespace bpkg
#endif
p->config_variables = move (cpr.config_sources);
+ p->config_checksum = move (cpr.config_checksum);
}
p->out_root = out_root.leaf ();