diff options
Diffstat (limited to 'libbuild2/cc')
-rw-r--r-- | libbuild2/cc/link-rule.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libbuild2/cc/link-rule.cxx b/libbuild2/cc/link-rule.cxx index f0fb198..9c0b018 100644 --- a/libbuild2/cc/link-rule.cxx +++ b/libbuild2/cc/link-rule.cxx @@ -824,7 +824,7 @@ namespace build2 if (skip (*pt)) m = 3; // Mark so it is not matched. - // If this is the lib{}/libu{} group, then pick the appropriate + // If this is the lib{}/libul{} group, then pick the appropriate // member. // if (const libx* l = pt->is_a<libx> ()) @@ -2130,7 +2130,7 @@ namespace build2 compile_target_types tts (compile_types (ot)); bool binless (md.binless); - assert (ot != otype::e || !binless); // Sanity check. + assert (!lt.executable() || !binless); // Sanity check. // Determine if we are out-of-date. // |