aboutsummaryrefslogtreecommitdiff
path: root/build/target
diff options
context:
space:
mode:
Diffstat (limited to 'build/target')
-rw-r--r--build/target3
1 files changed, 1 insertions, 2 deletions
diff --git a/build/target b/build/target
index 54b9daf..8eb7813 100644
--- a/build/target
+++ b/build/target
@@ -404,8 +404,7 @@ namespace build
const std::string* ext,
tracer& trace) const
{
- const std::string* e (ext);
- return find (target_key {&type, &dir, &name, &e}, trace);
+ return find (target_key {&type, &dir, &name, &ext}, trace);
}
// As above but ignore the extension and return the target or