From 89a9f8174ec858bf6df8515a84f061f211dec551 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 19 Jul 2016 17:10:51 +0200 Subject: Add import library target libi{}, make libs{} the DLL In the end, having libs{} be the DLL with import library being its member is more natural than making libs{} the import library and having dll{} as its member. --- build2/target.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'build2/target.cxx') diff --git a/build2/target.cxx b/build2/target.cxx index a8fae39..b0fc92d 100644 --- a/build2/target.cxx +++ b/build2/target.cxx @@ -383,8 +383,7 @@ namespace build2 load_mtime () const { const path_type& f (path ()); - assert (!f.empty ()); - return file_mtime (f); + return f.empty () ? timestamp_unknown : file_mtime (f); } // Search functions. -- cgit v1.1