aboutsummaryrefslogtreecommitdiff
path: root/bpkg/pkg-build.cxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2022-12-12 19:47:08 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2022-12-12 20:11:46 +0300
commitb1becabe15972d3ddc7cf14e7840e03766ea9600 (patch)
treecd8d1b93432220a0541a87311851729732cfdd75 /bpkg/pkg-build.cxx
parent94bd8f38d5cbecd479e26928ca110f0bf1f64519 (diff)
Adapt to butl::b_info() API change
Diffstat (limited to 'bpkg/pkg-build.cxx')
-rw-r--r--bpkg/pkg-build.cxx6
1 files changed, 5 insertions, 1 deletions
diff --git a/bpkg/pkg-build.cxx b/bpkg/pkg-build.cxx
index a5dd813..4e88fa1 100644
--- a/bpkg/pkg-build.cxx
+++ b/bpkg/pkg-build.cxx
@@ -2257,7 +2257,11 @@ namespace bpkg
true /* load_buildfiles */,
[&o, &d, &pvi] (version& v)
{
- pvi = package_version (o, d);
+ // Note that we also query subprojects since the package
+ // information will be used for the subsequent
+ // package_iteration() call.
+ //
+ pvi = package_version (o, d, b_info_flags::subprojects);
if (pvi.version)
v = move (*pvi.version);