summaryrefslogtreecommitdiffstats
path: root/build2/search.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'build2/search.cxx')
-rw-r--r--build2/search.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/build2/search.cxx b/build2/search.cxx
index 05e2680e..c4b9ae39 100644
--- a/build2/search.cxx
+++ b/build2/search.cxx
@@ -115,7 +115,7 @@ namespace build2
if (!ext)
{
if (auto f = ctk.type->fixed_extension)
- ext = f (ctk);
+ ext = f (ctk, s->root_scope ());
else if (auto f = ctk.type->default_extension)
ext = f (ctk, *s, nullptr, true);