From ba83ffbaf5941366a399e3bc340bed3f55cc977c Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Sun, 28 Aug 2016 11:12:02 +0200 Subject: Fix Windows rpath support --- build2/target | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'build2/target') diff --git a/build2/target b/build2/target index 103b719..681fcee 100644 --- a/build2/target +++ b/build2/target @@ -985,13 +985,13 @@ namespace build2 // should be mtime_target and the members get the mtime from it. // timestamp - mtime () const + mtime (bool load = true) const { const mtime_target* t (raw_state == target_state::group ? static_cast (group) : this); - if (t->mtime_ == timestamp_unknown) + if (load && t->mtime_ == timestamp_unknown) t->mtime_ = t->load_mtime (); return t->mtime_; -- cgit v1.1