From 6feaa13453d5071f340f405075c3ea880dc23ac1 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 18 Oct 2018 11:30:15 +0200 Subject: Fix bug in binless library linking logic --- build2/target.hxx | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'build2/target.hxx') 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; -- cgit v1.1