From c23346c4cda9e0c2318c302dc6014d3fef53a6d3 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 20 Feb 2015 09:29:56 +0200 Subject: Rework extension handling logic We no longer support hxx{vector.}. Rather, the target type can decide, e.g., based on a config variable, whether to append an extension. Also, in the future we may support a syntax to specify that this is a complete name, e.g., hxx{'vector'}. --- build/prerequisite.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'build/prerequisite.cxx') diff --git a/build/prerequisite.cxx b/build/prerequisite.cxx index 8d86392..71bde5f 100644 --- a/build/prerequisite.cxx +++ b/build/prerequisite.cxx @@ -46,7 +46,7 @@ namespace build os << p.name; - if (p.ext != nullptr) + if (p.ext != nullptr && !p.ext->empty ()) os << '.' << *p.ext; os << '}'; -- cgit v1.1