Commits

james woodyatt committed 1ceacb8

Move the libraries checkpoint dependency so that the .cmi files are
included in the scope.

  • Participants
  • Parent commits 181b5b3

Comments (0)

Files changed (1)

File project/lang/OCaml.om

         foreach(c0, $(this.COMPONENTS))
             ckdeps+=$(c0.ck libraries)
         this.COMPONENTS+=$c
+        this.OCAMLC.DEPEND+=$(ckdeps)
+        this.OCAMLOPT.DEPEND+=$(ckdeps)
         private.cmi=
         if $(this.MLIFILES)
             private.cc=$(specialize-compiler $(this.OCAMLC))
             export cmi
         this.OCAMLC.CMIDIR=$(c.STAGE.DIR)
         this.OCAMLOPT.CMIDIR=$(c.STAGE.DIR)
-        this.OCAMLC.DEPEND+=$(ckdeps) $(cmi)
-        this.OCAMLOPT.DEPEND+=$(ckdeps) $(cmi)
+        this.OCAMLC.DEPEND+=$(cmi)
+        this.OCAMLOPT.DEPEND+=$(cmi)
         return $(this)
     
     ### Configuration visitor