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