aboutsummaryrefslogtreecommitdiff
path: root/bpkg/pkg-configure.cxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2022-05-02 22:18:40 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2022-06-07 21:14:14 +0300
commitfb36673f0ea67e7e8298994259bf5da40f48fa05 (patch)
treed339d613b4604318b2533b77a32f5e55d84be881 /bpkg/pkg-configure.cxx
parentce4004e65cfd2f22e9c2ca4a27118eadbea020c0 (diff)
Make collect_drop() to also use replaced_versions map to prevent dependency overconstraining
Diffstat (limited to 'bpkg/pkg-configure.cxx')
-rw-r--r--bpkg/pkg-configure.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/bpkg/pkg-configure.cxx b/bpkg/pkg-configure.cxx
index 1392545..65cbf05 100644
--- a/bpkg/pkg-configure.cxx
+++ b/bpkg/pkg-configure.cxx
@@ -64,7 +64,7 @@ namespace bpkg
//
const dependency_alternatives_ex& das (deps[di]);
- if (das.empty () || toolchain_buildtime_dependency (o, das, ps.name ()))
+ if (das.empty () || toolchain_buildtime_dependency (o, das, &ps.name ()))
continue;
small_vector<reference_wrapper<const dependency_alternative>, 2> edas;