aboutsummaryrefslogtreecommitdiff
path: root/bpkg/package.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2022-03-28 15:04:35 +0200
committerKaren Arutyunov <karen@codesynthesis.com>2022-06-07 21:14:14 +0300
commit714662df7ada7426ba2cfd982f15b4333f7716f9 (patch)
treedfe42db5fc8173b819f732dffd44267677fda2ba /bpkg/package.cxx
parent4c5fe206eff86e80a4c41977320db67e2779fc32 (diff)
In pkg-build postpone collecting dependencies with preferred/required configuration
Also start build collection from scratch on package version replacement.
Diffstat (limited to 'bpkg/package.cxx')
-rw-r--r--bpkg/package.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/bpkg/package.cxx b/bpkg/package.cxx
index 3a356f8..125a8f3 100644
--- a/bpkg/package.cxx
+++ b/bpkg/package.cxx
@@ -58,7 +58,7 @@ namespace bpkg
string config_package::
string () const
{
- const std::string& s (db.string);
+ const std::string& s (db.get ().string);
return !s.empty () ? name.string () + ' ' + s : name.string ();
}