diff --git a/llvm/bindings/ocaml/llvm/META.llvm.in b/llvm/bindings/ocaml/llvm/META.llvm.in --- a/llvm/bindings/ocaml/llvm/META.llvm.in +++ b/llvm/bindings/ocaml/llvm/META.llvm.in @@ -30,7 +30,7 @@ ) package "executionengine" ( - requires = "llvm,llvm.target,ctypes.foreign" + requires = "llvm,llvm.target,ctypes" version = "@PACKAGE_VERSION@" description = "JIT and Interpreter for LLVM" archive(byte) = "llvm_executionengine.cma" diff --git a/llvm/test/Bindings/OCaml/executionengine.ml b/llvm/test/Bindings/OCaml/executionengine.ml --- a/llvm/test/Bindings/OCaml/executionengine.ml +++ b/llvm/test/Bindings/OCaml/executionengine.ml @@ -1,7 +1,7 @@ (* RUN: rm -rf %t && mkdir -p %t && cp %s %t/executionengine.ml - * RUN: %ocamlc -g -w +A -thread -package llvm.executionengine -linkpkg %t/executionengine.ml -o %t/executable + * RUN: %ocamlc -g -w +A -thread -package ctypes.foreign,llvm.executionengine -linkpkg %t/executionengine.ml -o %t/executable * RUN: %t/executable - * RUN: %ocamlopt -g -w +A -thread -package llvm.executionengine -linkpkg %t/executionengine.ml -o %t/executable + * RUN: %ocamlopt -g -w +A -thread -package ctypes.foreign,llvm.executionengine -linkpkg %t/executionengine.ml -o %t/executable * RUN: %t/executable * REQUIRES: native * XFAIL: vg_leak