aboutsummaryrefslogtreecommitdiff
path: root/build2/target.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2018-10-18 11:30:15 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2018-10-18 11:30:15 +0200
commit6feaa13453d5071f340f405075c3ea880dc23ac1 (patch)
treeceb957c16237e28d0bba5c2f42a2efb272a2b3cc /build2/target.hxx
parent52019768ddc64f25416a692461a472bc2be2c7a7 (diff)
Fix bug in binless library linking logic
Diffstat (limited to 'build2/target.hxx')
-rw-r--r--build2/target.hxx16
1 files changed, 8 insertions, 8 deletions
diff --git a/build2/target.hxx b/build2/target.hxx
index 1249f5c..d73a98c 100644
--- a/build2/target.hxx
+++ b/build2/target.hxx
@@ -1447,14 +1447,14 @@ namespace build2
// any time but any subsequent updates must set the same path. Or, in
// other words, once the path is set, it never changes.
//
- // A set empty path may signify special unknown/undetermined location (for
- // example an installed import library -- we know it's there, just not
- // exactly where). In this case you would also normally set its mtime. We
- // used to return a pointer to properly distinguish between not set and
- // empty but that proved too tedious. Note that this means there could be
- // a race between path and mtime (unless you lock the target in some other
- // way; see file_rule) so for this case it makes sense to set the
- // timestamp first.
+ // A set empty path may signify special unknown/undetermined/unreal
+ // location (for example, a binless library or an installed import library
+ // -- we know the DLL is there, just not exactly where). In this case you
+ // would also normally set its mtime. We used to return a pointer to
+ // properly distinguish between not set and empty but that proved too
+ // tedious. Note that this means there could be a race between path and
+ // mtime (unless you lock the target in some other way; see file_rule) so
+ // for this case it makes sense to set the timestamp first.
//
const path_type&
path () const;