Permalink
Browse files

OCamlbuild plugin: Use only the product for the tags

  • Loading branch information...
1 parent 0589f03 commit a632dc6ecdcd16c2b5fcf8d1b1806fb796591b2d @jpdeplaix jpdeplaix committed Feb 20, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 ocamlbuild/ocamlbuild_js_of_ocaml.ml
@@ -65,7 +65,7 @@ let init () =
let dep = env dep in
let prod = env prod in
let link_opts = link_opts prod in
- let tags = Pack.Tags.union (tags_of_pathname dep) (tags_of_pathname prod) ++ "js_of_ocaml" in
+ let tags = tags_of_pathname prod ++ "js_of_ocaml" in
Cmd (S [A "js_of_ocaml"; A "-noruntime"; T tags; S link_opts; P dep; A "-o"; Px prod])
in
rule "js_of_ocaml: .byte -> .js" ~dep ~prod f;

0 comments on commit a632dc6

Please sign in to comment.