[OCaml] Rework Llvm_executionengine using ctypes.
[oota-llvm.git] / bindings / ocaml / llvm / META.llvm.in
index edb84e0af0dc4663b9fe1697cd7ff2a3719af1fb..6f224c51478cf8c728f0ea2ede15a70399826b3e 100644 (file)
@@ -3,8 +3,8 @@ version = "@PACKAGE_VERSION@"
 description = "LLVM OCaml bindings"
 archive(byte) = "llvm.cma"
 archive(native) = "llvm.cmxa"
 description = "LLVM OCaml bindings"
 archive(byte) = "llvm.cma"
 archive(native) = "llvm.cmxa"
+exists_if(toplevel) = "dllllvm.so"
 directory = "."
 directory = "."
-linkopts = "-ccopt -lstdc++"
 
 package "analysis" (
     requires = "llvm"
 
 package "analysis" (
     requires = "llvm"
@@ -31,7 +31,7 @@ package "bitwriter" (
 )
 
 package "executionengine" (
 )
 
 package "executionengine" (
-    requires = "llvm,llvm.target"
+    requires = "llvm,llvm.target,ctypes.foreign"
     version = "@PACKAGE_VERSION@"
     description = "JIT and Interpreter for LLVM"
     archive(byte) = "llvm_executionengine.cma"
     version = "@PACKAGE_VERSION@"
     description = "JIT and Interpreter for LLVM"
     archive(byte) = "llvm_executionengine.cma"