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-04-27 13:44:04 +0300
commitbd4a189cb8dae25c31ce91f5cd2070765dc45c10 (patch)
treec2c79e9c235bf83c96d7e1b87dbd6d7707eb6d00 /bpkg/package.cxx
parent1f2460395e1e052e823332f8eed38315556100c0 (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 ();
}