From d853d416fd3ad00c283c54fd09a881dbb50e52f5 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 11 Jan 2024 07:14:12 +0200 Subject: Properly split injected ad hoc group member name in regex pattern rule --- libbuild2/algorithm.hxx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'libbuild2/algorithm.hxx') diff --git a/libbuild2/algorithm.hxx b/libbuild2/algorithm.hxx index c6fb1c2..2c57b74 100644 --- a/libbuild2/algorithm.hxx +++ b/libbuild2/algorithm.hxx @@ -285,10 +285,12 @@ namespace build2 const target_type&, dir_path dir, dir_path out, - string name); + string name, + optional ext); // If the extension is specified then it is added to the member's target - // name. + // name as a second-level extension (the first-level extension, if any, + // comes from the target type). // target& add_adhoc_member (target&, const target_type&, const char* ext = nullptr); -- cgit v1.1