From f98eaa0ebd343549e44ae7f6b7f79ac4e1377456 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 13 Sep 2021 12:13:47 +0200 Subject: Use associated name as linked configuration name --- bdep/config.cxx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'bdep') diff --git a/bdep/config.cxx b/bdep/config.cxx index 6929fb7..d7a8350 100644 --- a/bdep/config.cxx +++ b/bdep/config.cxx @@ -578,13 +578,17 @@ namespace bdep // Call bpkg to link the configurations. // // If possible, rebase the linked configuration directory path relative to - // the other configuration path. + // the other configuration path. Also use our associated name as the + // linked configuration name. // + const optional& cn (lc->name); + run_bpkg (2, o, "cfg-link", ld.try_relative (cd) ? "--relative" : nullptr, "-d", cd, + (cn ? "--name" : nullptr), (cn ? cn->c_str () : nullptr), ld); } -- cgit v1.1