From e106df8f3a367e2c32548abccb5606a9fc441eae Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 13 Apr 2023 16:25:43 +0200 Subject: Temporarily force global config.import.* warning workaround --- bpkg/pkg-configure.cxx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/bpkg/pkg-configure.cxx b/bpkg/pkg-configure.cxx index 83ec245..38aa01a 100644 --- a/bpkg/pkg-configure.cxx +++ b/bpkg/pkg-configure.cxx @@ -304,9 +304,11 @@ namespace bpkg // But we can clash with an absent value -- that is, we // force importing from a wrong configuration where without // any import things would have been found in the same - // amalgamation. + // amalgamation. Maybe we could detect that (no import + // for the same package -- but it could be for a package + // we are not configuring). // - vars.push_back ("config.import." + sp->name.variable () + + vars.push_back ("!config.import." + sp->name.variable () + "='" + od.representation () + '\''); #else vars.push_back ("config.import." + sp->name.variable () + -- cgit v1.1