src/Tools/Code/code_ml.ML
changeset 69910 0c0f7b4a72bf
parent 69906 55534affe445
child 69926 110fff287217
     1.1 --- a/src/Tools/Code/code_ml.ML	Thu Mar 14 09:46:09 2019 +0100
     1.2 +++ b/src/Tools/Code/code_ml.ML	Thu Mar 14 13:54:31 2019 +0000
     1.3 @@ -885,11 +885,11 @@
     1.4        evaluation_args = []})
     1.5    #> Code_Target.add_language
     1.6      (target_OCaml, {serializer = serializer_ocaml, literals = literals_ocaml,
     1.7 -      check = {env_var = "ISABELLE_OPAM_ROOT",
     1.8 +      check = {env_var = "ISABELLE_OCAMLEXEC",
     1.9          make_destination = fn p => Path.append p (Path.explode "ROOT.ml")
    1.10            (*extension demanded by OCaml compiler*),
    1.11          make_command = fn _ =>
    1.12 -          "\"$ISABELLE_ROOT/lib/scripts/ocamlexec\" ocamlfind ocamlopt -w pu -package zarith -linkpkg ROOT.ml"},
    1.13 +          "\"$ISABELLE_OCAMLEXEC\" ocamlfind ocamlopt -w pu -package zarith -linkpkg ROOT.ml"},
    1.14        evaluation_args = []})
    1.15    #> Code_Target.set_printings (Type_Constructor ("fun",
    1.16      [(target_SML, SOME (2, fun_syntax)), (target_OCaml, SOME (2, fun_syntax))]))