Skip to content

Commit

Permalink
PR#5868: Bytecode dependencies should not appear in output of ocamlde…
Browse files Browse the repository at this point in the history
…p when -native flag is used

git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13194 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
  • Loading branch information
meyer committed Jan 1, 2013
1 parent f50520d commit c32a22b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/ocamldep.ml
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ let ml_file_dependencies source_file =
print_raw_dependencies source_file extracted_deps
end else begin
let basename = Filename.chop_extension source_file in
let byte_targets = [ basename ^ ".cmo" ] in
let byte_targets = if !native_only then [] else [ basename ^ ".cmo" ] in
let native_targets =
if !all_dependencies
then [ basename ^ ".cmx"; basename ^ ".o" ]
Expand Down

0 comments on commit c32a22b

Please sign in to comment.