[OCaml] If compiled without --enable-shared, hide packages from toplevel.
[oota-llvm.git] / bindings / ocaml / backends / META.llvm_backend.in
index 6c1e8c472596ed260494560de8c2eaeb012c883c..a0f62f735e4d2ebaa1a26529fa51e973a98b858b 100644 (file)
@@ -4,4 +4,5 @@ description = "@TARGET@ Backend for LLVM"
 requires = "llvm"
 archive(byte) = "llvm_@TARGET@.cma"
 archive(native) = "llvm_@TARGET@.cmxa"
 requires = "llvm"
 archive(byte) = "llvm_@TARGET@.cma"
 archive(native) = "llvm_@TARGET@.cmxa"
+exists_if(toplevel) = "dllllvm.so"
 directory = "."
 directory = "."