diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2017-07-27 16:18:26 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2017-07-27 16:18:26 +0200 |
commit | d14d3123c7cdb53a635d4be55902c09a410c28cc (patch) | |
tree | 960adc1a397c51bee5393e2ac4af85bee2514e64 | |
parent | bf959a7fc119f9156c4b84c9d0a10900d9153f8d (diff) |
Fix bug in new utility library logic
-rw-r--r-- | build2/cc/types.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/build2/cc/types.hxx b/build2/cc/types.hxx index 417370f..b575dc7 100644 --- a/build2/cc/types.hxx +++ b/build2/cc/types.hxx @@ -66,7 +66,7 @@ namespace build2 otype type; bool utility; // True for utility libraries. - bool executable () const {return type == otype::e || !utility;} + bool executable () const {return type == otype::e && !utility;} bool library () const {return type != otype::e || utility;} bool static_library () const {return type == otype::a || utility;} bool shared_library () const {return type == otype::s && !utility;} |