diff options
Diffstat (limited to 'libbuild2')
-rw-r--r-- | libbuild2/cc/common.cxx | 3 | ||||
-rw-r--r-- | libbuild2/file.cxx | 2 |
2 files changed, 4 insertions, 1 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. // diff --git a/libbuild2/file.cxx b/libbuild2/file.cxx index 23bd103..def49b8 100644 --- a/libbuild2/file.cxx +++ b/libbuild2/file.cxx @@ -2586,7 +2586,7 @@ namespace build2 ns.clear (); // NULL } else - l5 ([&]{trace << "postponing " << r.first;}); + l5 ([&]{trace << "postponing " << ns.back ();}); } } |