From 63c480abe7755c3c957d5c219a5e0ed3e9f881aa Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Sat, 17 Dec 2016 16:09:34 +0200 Subject: Add support for specifying individual paths of imported targets The new config.import.* variable format is: config.import..[.] For example: b config.import.build2.b=/opt/build2/bin/b b config.import.build2.b.exe=b-boot --- build2/cli/rule.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'build2/cli') diff --git a/build2/cli/rule.cxx b/build2/cli/rule.cxx index bcc3a9f..252c55f 100644 --- a/build2/cli/rule.cxx +++ b/build2/cli/rule.cxx @@ -222,7 +222,7 @@ namespace build2 args.push_back (option); args.push_back (t.ext->empty () ? t.ext->c_str () - : t.path ().extension () - 1); + : t.path ().extension_cstring () - 1); } } -- cgit v1.1