aboutsummaryrefslogtreecommitdiff
path: root/build/target.cxx
diff options
context:
space:
mode:
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
};