diff options
Diffstat (limited to 'build2/cc/install.cxx')
-rw-r--r-- | build2/cc/install.cxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/build2/cc/install.cxx b/build2/cc/install.cxx index c35e931..75f6b8a 100644 --- a/build2/cc/install.cxx +++ b/build2/cc/install.cxx @@ -25,6 +25,11 @@ namespace build2 const target* install:: filter (action a, const target& t, prerequisite_member p) const { + // Skip utility libraries. + // + if (p.is_a<libu> () || p.is_a<libux> ()) + return nullptr; + if (t.is_a<exe> ()) { // Don't install executable's prerequisite headers. |