aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/cc
diff options
context:
space:
mode:
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.
//