diff options
Diffstat (limited to 'libbuild2/file.cxx')
-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..ecb5f80 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 << "naming scheme mismatch for " << out_root << " and " + << s.src_path (); if (s.root_extra->project) { |