diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2023-09-21 10:45:54 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2023-09-21 10:45:54 +0200 |
commit | a301f5f1b934129a1030eb5c171233fea06694de (patch) | |
tree | a809b8406014c85f86381eb73a72fc4fa6f0d568 /libbuild2 | |
parent | ce14007653e22f7cb8906317d80c5968f7b53a95 (diff) |
Fix bug in previous commit
Diffstat (limited to 'libbuild2')
-rw-r--r-- | libbuild2/cc/install-rule.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libbuild2/cc/install-rule.cxx b/libbuild2/cc/install-rule.cxx index ac4a897..b13a7eb 100644 --- a/libbuild2/cc/install-rule.cxx +++ b/libbuild2/cc/install-rule.cxx @@ -339,7 +339,7 @@ namespace build2 bool st (t.is_a<libue> () || t.is_a<libus> ()); // Target needs shared. bool at (t.is_a<libua> () || t.is_a<libus> ()); // Target needs static. - assert (at || at); + assert (st || at); if ((st && (p.is_a<libx> () || p.is_a<libs> ())) || (at && (p.is_a<libx> () || p.is_a<liba> ()))) |