aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/cc/common.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2022-08-17 10:00:55 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2022-08-17 10:00:55 +0200
commit54512574c11b196173d432baa3fc13f04095539a (patch)
tree7c3b6ed4201a2fb4bc322a1bcf9172d006c79102 /libbuild2/cc/common.hxx
parent287fd8e3bc60fa69f1ae486efbd635f43ba599ce (diff)
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.
Diffstat (limited to 'libbuild2/cc/common.hxx')
-rw-r--r--libbuild2/cc/common.hxx5
1 files changed, 5 insertions, 0 deletions
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<dir_paths>&,
library_cache* = nullptr) const;
+ struct non_existent_library
+ {
+ const mtime_target& target;
+ };
+
template <typename T>
static ulock
insert_library (context&,