From a89f1e4f4efd291beedea03c65c8185b7d0df20e Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 7 Dec 2017 12:06:59 +0200 Subject: Distinguish between "fixed" and "default" target extensions This fixes wrong merging of, say, file{README} and file{README.MySQL} (in libmysqlclient). --- build2/cc/compile.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'build2/cc/compile.cxx') diff --git a/build2/cc/compile.cxx b/build2/cc/compile.cxx index ca07b42..a81f147 100644 --- a/build2/cc/compile.cxx +++ b/build2/cc/compile.cxx @@ -1012,7 +1012,7 @@ namespace build2 // This is like prerequisite search. // - if (optional de = tt.extension (tk, s, true)) + if (optional de = tt.default_extension (tk, s, true)) if (*de == e) return true; -- cgit v1.1