Improve errors for ${lib:...}
This commit is contained in:
parent
2a5dc053fb
commit
ec6b89ea11
|
@ -87,7 +87,8 @@ let file_of_lib ?(use_provides=false) t ~from ~lib ~file =
|
||||||
| None ->
|
| None ->
|
||||||
Error
|
Error
|
||||||
{ fail = fun () ->
|
{ fail = fun () ->
|
||||||
die
|
ignore (Findlib.find_exn t.context.findlib lib
|
||||||
"Library %s not found in the tree or in the installed world"
|
~required_by:[Utils.jbuild_name_in ~dir:from]
|
||||||
lib
|
: Findlib.package);
|
||||||
|
assert false
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue