diff options
Diffstat (limited to 'libbuild2')
-rw-r--r-- | libbuild2/file.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libbuild2/file.cxx b/libbuild2/file.cxx index 18147a2..7491ca6 100644 --- a/libbuild2/file.cxx +++ b/libbuild2/file.cxx @@ -759,8 +759,9 @@ namespace build2 { if (!altn) altn = s.root_extra->altn; - else - assert (*altn == s.root_extra->altn); + else if (*altn != s.root_extra->altn) + fail << "build file/directory naming schemes for " << out_root + << " and " << s.src_path () << " does not match"; if (s.root_extra->project) { |