[OCaml] If compiled without --enable-shared, hide packages from toplevel.
[oota-llvm.git] / bindings / ocaml / llvm / META.llvm.in
index 6449480ae9eff77a76e8494c3852d69f7ba8790c..c8eedb8f19f1f85a786cd367a07f3d036367791e 100644 (file)
@@ -3,6 +3,7 @@ version = "@PACKAGE_VERSION@"
 description = "LLVM OCaml bindings"
 archive(byte) = "llvm.cma"
 archive(native) = "llvm.cmxa"
+exists_if(toplevel) = "dllllvm.so"
 directory = "."
 
 package "analysis" (