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