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.cxx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'libbuild2/algorithm.cxx') diff --git a/libbuild2/algorithm.cxx b/libbuild2/algorithm.cxx index 8b7aa28..df8e650 100644 --- a/libbuild2/algorithm.cxx +++ b/libbuild2/algorithm.cxx @@ -364,7 +364,8 @@ namespace build2 const target_type& tt, dir_path dir, dir_path out, - string n) + string n, + optional ext) { tracer trace ("add_adhoc_member"); @@ -381,7 +382,7 @@ namespace build2 move (dir), move (out), move (n), - nullopt /* ext */, + move (ext), target_decl::implied, trace, true /* skip_find */)); -- cgit v1.1