aboutsummaryrefslogtreecommitdiff
path: root/build2/search.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'build2/search.cxx')
-rw-r--r--build2/search.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/build2/search.cxx b/build2/search.cxx
index 68191f5..6889a36 100644
--- a/build2/search.cxx
+++ b/build2/search.cxx
@@ -81,9 +81,7 @@ namespace build2
if (ext == nullptr)
{
if (auto f = ctk.type->extension)
- {
- ext = f (ctk, *cpk.scope); // Already from the pool.
- }
+ ext = f (ctk, *cpk.scope, true); // Already from the pool.
if (ext == nullptr)
{