From f98262e37f608330fcfce799dcacc6fbacac8f8a Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 23 Apr 2018 14:25:58 +0200 Subject: Implement forwarded configurations and backlinking --- build2/cc/windows-rpath.cxx | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'build2/cc/windows-rpath.cxx') diff --git a/build2/cc/windows-rpath.cxx b/build2/cc/windows-rpath.cxx index 8854542..594e3e0 100644 --- a/build2/cc/windows-rpath.cxx +++ b/build2/cc/windows-rpath.cxx @@ -215,8 +215,7 @@ namespace build2 const char* windows_manifest_arch (const string& tcpu); // windows-manifest.cxx - // The ts argument should be the the DLLs timestamp returned by - // *_timestamp(). + // The ts argument should be the DLLs timestamp returned by *_timestamp(). // // The scratch argument should be true if the DLL set has changed and we // need to regenerate everything from scratch. Otherwise, we try to avoid @@ -248,10 +247,10 @@ namespace build2 // signalling that there aren't any DLLs but the assembly manifest // file exists. This, however, can only happen if we somehow managed // to transition from the "have DLLs" state to "no DLLs" without going - // through the "from scratch" update. And this shouldn't happen - // (famous last words before a core dump). + // through the "from scratch" update. Actually this can happen when + // switching to update-for-install. // - if (ts <= file_mtime (am)) + if (ts != timestamp_nonexistent && ts <= file_mtime (am)) return; } -- cgit v1.1