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