aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/cc
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2020-11-13 11:05:31 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2020-11-13 11:05:31 +0200
commit3ac5998ee4d5e30a35ce7c043b9389598d7f147f (patch)
tree575ff5ab21bf21d049c9580b37301856bf91f486 /libbuild2/cc
parentfb3a7f3343f9ee0cfd15b540a3209e438f6063eb (diff)
Minor tracing fix and addition
Diffstat (limited to 'libbuild2/cc')
-rw-r--r--libbuild2/cc/common.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/libbuild2/cc/common.cxx b/libbuild2/cc/common.cxx
index f848003..7d2fd63 100644
--- a/libbuild2/cc/common.cxx
+++ b/libbuild2/cc/common.cxx
@@ -819,7 +819,10 @@ namespace build2
}
if (pd == nullptr)
+ {
+ l5 ([&]{trace << "no library found for " << p;});
return nullptr;
+ }
// Enter (or find) the lib{} target group.
//