summaryrefslogtreecommitdiff
path: root/mbld/deps.myr
diff options
context:
space:
mode:
authorOri Bernstein <ori@mmarkovcorp.com>2017-09-05 11:45:59 -0700
committerOri Bernstein <ori@mmarkovcorp.com>2017-09-05 11:45:59 -0700
commit5fa05936d56f927db90c52d07fae2db63bca7d29 (patch)
tree4b7a17019ce005111da9dfd9171106714804cebb /mbld/deps.myr
parentea067be32dd52602d1f36051e51baefe01135aa3 (diff)
downloadmc-5fa05936d56f927db90c52d07fae2db63bca7d29.tar.gz
Improve error messages for missing libs.
It's useful to know which target is missing them.
Diffstat (limited to 'mbld/deps.myr')
-rw-r--r--mbld/deps.myr4
1 files changed, 2 insertions, 2 deletions
diff --git a/mbld/deps.myr b/mbld/deps.myr
index b68e80f..2783dee 100644
--- a/mbld/deps.myr
+++ b/mbld/deps.myr
@@ -147,7 +147,7 @@ const myrdeps = {b, name, mt
depends(g, n, d)
;;
for `Xdep d : deps
- scrapelib(b, d, mt.incpath)
+ scrapelib(b, mt.name, d, mt.incpath)
xdepends(b, g, n, d)
std.slpush(&libs, d)
;;
@@ -329,7 +329,7 @@ const addalt = {b, mt, kind, f
depends(g, n, d)
;;
for `Xdep d : deps
- scrapelib(b, d, mt.incpath)
+ scrapelib(b, mt.name, d, mt.incpath)
xdepends(b, g, n, d)
std.slpush(&libs, d)
;;