Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

OCamlbuild plugin: Use only the product for the tags

  • Loading branch information...
commit a632dc6ecdcd16c2b5fcf8d1b1806fb796591b2d 1 parent 0589f03
Jacques-Pascal Deplaix jpdeplaix authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  ocamlbuild/ocamlbuild_js_of_ocaml.ml
2  ocamlbuild/ocamlbuild_js_of_ocaml.ml
View
@@ -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;
Please sign in to comment.
Something went wrong with that request. Please try again.