summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFabrice Le Fessant <Fabrice.Le_fessant@inria.fr>2012-01-27 13:58:04 +0000
committerFabrice Le Fessant <Fabrice.Le_fessant@inria.fr>2012-01-27 13:58:04 +0000
commit82d5630bab7b3c54eab1c4c9450e4a92d97f11fe (patch)
treefd7bf98ba15834669769dee933b73ed880ec7ab4
parentf48f2f229c67661b1b02d4c9df3a5a1feba9cc3b (diff)
Small fix on the previous commit
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12092 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
-rw-r--r--tools/ocamldep.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/ocamldep.ml b/tools/ocamldep.ml
index 66d113c61..13b55fbeb 100644
--- a/tools/ocamldep.ml
+++ b/tools/ocamldep.ml
@@ -117,7 +117,7 @@ let find_dependency target_kind modname (byt_deps, opt_deps) =
if !all_dependencies then
match target_kind with
| MLI -> [basename ^ ".cmi"]
- | ML -> [basename ^ ".cmi"; basename ^ ".cmo"]
+ | ML -> [basename ^ ".cmi";]
else
(* again, make-specific hack *)
[basename ^ (if !native_only then ".cmx" else ".cmo")] in