diff options
Diffstat (limited to 'libbuild2/cc/install-rule.cxx')
-rw-r--r-- | libbuild2/cc/install-rule.cxx | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/libbuild2/cc/install-rule.cxx b/libbuild2/cc/install-rule.cxx index 389a9ac..0065c0a 100644 --- a/libbuild2/cc/install-rule.cxx +++ b/libbuild2/cc/install-rule.cxx @@ -44,14 +44,15 @@ namespace build2 { if (!t.is_a<exe> ()) { - // If runtime-only, filter out all known buildtime member types. + // If runtime-only, filter out all known buildtime target types. // const auto& md (t.data<install_match_data> (a)); if ((md.options & lib::option_install_buildtime) == 0) { - if (m.is_a<pc> () || // pkg-config files. - m.is_a<libi> ()) // Import library. + if (m.is_a<liba> () || // Staic library. + m.is_a<pc> () || // pkg-config file. + m.is_a<libi> ()) // Import library. return false; } } |