aboutsummaryrefslogtreecommitdiff
path: root/build2/cc/compile.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'build2/cc/compile.cxx')
-rw-r--r--build2/cc/compile.cxx2
1 files changed, 1 insertions, 1 deletions
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<string> de = tt.extension (tk, s, true))
+ if (optional<string> de = tt.default_extension (tk, s, true))
if (*de == e)
return true;