diff --git a/src/exe.ml b/src/exe.ml index b93d48addd74..a29305766354 100644 --- a/src/exe.ml +++ b/src/exe.ml @@ -193,7 +193,7 @@ let link_exe ]); if linkage.ext = ".bc" then let rules = - if not explicit_js_mode || (explicit_js_mode && has_js) then + if not explicit_js_mode || has_js then Js_of_ocaml_rules.build_exe cctx ~js_of_ocaml ~src:exe else []