aboutsummaryrefslogtreecommitdiff
path: root/build2/cc/install-rule.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2018-08-27 20:23:06 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2018-08-27 20:23:06 +0200
commit6ad4a629e0a790ad60352a94ea25359f38700b2f (patch)
tree39d652a8f98fd64a75357b7a26fe182cfcac99e8 /build2/cc/install-rule.cxx
parent8f583c118a68513ff8ed96d92f20fcf7e77cec16 (diff)
Don't insist on install rules for non-file targets
This helps with (not) installing libu*{} groups.
Diffstat (limited to 'build2/cc/install-rule.cxx')
-rw-r--r--build2/cc/install-rule.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/build2/cc/install-rule.cxx b/build2/cc/install-rule.cxx
index 9e6b93f..d687903 100644
--- a/build2/cc/install-rule.cxx
+++ b/build2/cc/install-rule.cxx
@@ -64,8 +64,8 @@ namespace build2
if ((st && pt->is_a<libs> ()) || (at && pt->is_a<liba> ()))
return pt->in (t.weak_scope ()) ? pt : nullptr;
- // See through libux{}. Note that we are always in the same project
- // (and thus amalgamation).
+ // See through to libu*{} members. Note that we are always in the same
+ // project (and thus amalgamation).
//
if (pt->is_a<libux> ())
return pt;