ocamldep needs the -nostdlib option to match that of ocamlc/ocamlopt. Additionally, -nopervasives would also be great to have.

Additional Information

I compile my own versions of the stdlib & pervasives for my project, and these options would make ocamldep work for us, as currently it won't track our stdlib/pervasives changes for other dependent parts of the project.