aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/bin/init.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2022-12-06 10:31:47 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2022-12-06 10:31:47 +0200
commit2239b3f57ae4779acd403cb0d0222d3adde1a1ad (patch)
tree545b1826b30b4de473937fd3e504761086ed135c /libbuild2/bin/init.cxx
parenta7085d313a9cfdca578a4fc69dccb20090cc5769 (diff)
Handle bin.whole when specified for interface dependencies
Diffstat (limited to 'libbuild2/bin/init.cxx')
-rw-r--r--libbuild2/bin/init.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/libbuild2/bin/init.cxx b/libbuild2/bin/init.cxx
index 78119cb..c5b58bb 100644
--- a/libbuild2/bin/init.cxx
+++ b/libbuild2/bin/init.cxx
@@ -107,12 +107,12 @@ namespace build2
// Link whole archive. Note: with target visibility.
//
// The lookup semantics is as follows: we first look for a prerequisite-
- // specific value, then for a target-specific value in the library being
- // linked, and then for target type/pattern-specific value starting from
- // the scope of the target being linked-to. In that final lookup we do
- // not look in the target being linked-to itself since that is used to
- // indicate how this target should be linked to other targets. For
- // example:
+ // specific value, then for a target-specific value in the prerequisite
+ // library, and then for target type/pattern-specific value starting
+ // from the scope of the target being linked. In that final lookup we do
+ // not look in the target being linked itself since that is used to
+ // indicate how this target should be used as a prerequisite of other
+ // targets. For example:
//
// exe{test}: liba{foo}
// liba{foo}: libua{foo1 foo2}