aboutsummaryrefslogtreecommitdiff
path: root/build/target.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2015-07-24 10:32:50 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2015-07-24 10:32:50 +0200
commitbb4f9e6498ba715911f83e0dc221a5b1b86baf51 (patch)
tree021007995d476770b6dced459a770712baa8ea72 /build/target.cxx
parent3c57a25a4d6a80301ece82ab33f1394e34f8b873 (diff)
Further test module development
Diffstat (limited to 'build/target.cxx')
-rw-r--r--build/target.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/build/target.cxx b/build/target.cxx
index 5aa1214..f6fc5c8 100644
--- a/build/target.cxx
+++ b/build/target.cxx
@@ -356,13 +356,14 @@ namespace build
(e != nullptr ? e : &extension_pool.find ("")));
}
+ constexpr const char file_ext[] = "";
const target_type file::static_type
{
typeid (file),
"file",
&path_target::static_type,
&file_factory,
- nullptr, // Factory always assigns an extension.
+ &target_extension_fix<file_ext>,
&search_file,
false
};