aboutsummaryrefslogtreecommitdiff
path: root/build2/search.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2016-12-16 17:22:28 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2016-12-16 17:22:28 +0200
commit75152526696fc024628796f0633ed695d5ebc49c (patch)
treefaeef54a6b4d7e9a816b8d541500c48484e4ed39 /build2/search.cxx
parentcc12ed4245a2b61f4c4eb2a970398c920fbc1d37 (diff)
Move exe{} to build2 core, add fallback extensions (existing files)
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)
{