summaryrefslogtreecommitdiff
path: root/mbld/deps.myr
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2015-12-09 12:53:00 -0800
committerOri Bernstein <ori@eigenstate.org>2015-12-09 12:53:00 -0800
commit85434ad4c4b438049f1b55bd681ddea5cd60fbef (patch)
treee20eddf892ac79bb360dc84efce37b13faa556c9 /mbld/deps.myr
parentc5a41d7c6bb10c1f384cce78953355b1c0c1e6f2 (diff)
downloadmc-85434ad4c4b438049f1b55bd681ddea5cd60fbef.tar.gz
Search the default path for a library.
We had missed a couple of search paths.
Diffstat (limited to 'mbld/deps.myr')
-rw-r--r--mbld/deps.myr6
1 files changed, 5 insertions, 1 deletions
diff --git a/mbld/deps.myr b/mbld/deps.myr
index 5ce5876..a168c19 100644
--- a/mbld/deps.myr
+++ b/mbld/deps.myr
@@ -374,7 +374,11 @@ const openlib = {lib, incs
| `std.Ok file: -> file
| `std.Fail m: /* nothing */
;;
- std.fatal("could not find library {}.\n", lib)
+ std.put("could not find library {} in search path:\n", lib)
+ for p in incs
+ std.put("\t{}\n", p)
+ ;;
+ std.fatal("\t{}\n", config.Libpath)
}
/* pushes a dep into the dependency list */