aboutsummaryrefslogtreecommitdiff
path: root/build/target.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'build/target.cxx')
-rw-r--r--build/target.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/build/target.cxx b/build/target.cxx
index 31a7f59..7a40c61 100644
--- a/build/target.cxx
+++ b/build/target.cxx
@@ -38,7 +38,7 @@ namespace build
os << t.name;
- if (t.ext != nullptr)
+ if (t.ext != nullptr && !t.ext->empty ())
os << '.' << *t.ext;
os << '}';