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-05-03 14:58:07 +0300
commit051349d7e8f274b0b5138c8d500030e86375a00e (patch)
tree544b08c7791e6949a2d8b5b09e38fae288e83487 /bpkg/pkg-configure.cxx
parent5d605a5fd2e94cd5ecb62b860da01eb7fa884062 (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;