From 54512574c11b196173d432baa3fc13f04095539a Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 17 Aug 2022 10:00:55 +0200 Subject: Handle another "in *.export.libs but not in prerequisites" case Also, enable this check even if proc_lib is not specified unless in the execute phase. --- libbuild2/cc/common.hxx | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'libbuild2/cc/common.hxx') diff --git a/libbuild2/cc/common.hxx b/libbuild2/cc/common.hxx index 9c276f7..c11fa7a 100644 --- a/libbuild2/cc/common.hxx +++ b/libbuild2/cc/common.hxx @@ -384,6 +384,11 @@ namespace build2 optional&, library_cache* = nullptr) const; + struct non_existent_library + { + const mtime_target& target; + }; + template static ulock insert_library (context&, -- cgit v1.1