diff options
author | Ori Bernstein <ori@eigenstate.org> | 2015-12-09 12:53:00 -0800 |
---|---|---|
committer | Ori Bernstein <ori@eigenstate.org> | 2015-12-09 12:53:00 -0800 |
commit | 85434ad4c4b438049f1b55bd681ddea5cd60fbef (patch) | |
tree | e20eddf892ac79bb360dc84efce37b13faa556c9 /mbld/deps.myr | |
parent | c5a41d7c6bb10c1f384cce78953355b1c0c1e6f2 (diff) | |
download | mc-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.myr | 6 |
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 */ |