[OCaml] If compiled without --enable-shared, hide packages from toplevel.
authorPeter Zotov <whitequark@whitequark.org>
Wed, 29 Oct 2014 08:16:06 +0000 (08:16 +0000)
committerPeter Zotov <whitequark@whitequark.org>
Wed, 29 Oct 2014 08:16:06 +0000 (08:16 +0000)
commit2e9579037de6b05ea436abf6d4bf24d9a278942b
treed78f64cc743f33778ebc348abaaac290a30df689
parenta226572e59f8a270a90bfa6100c891cccf1af244
[OCaml] If compiled without --enable-shared, hide packages from toplevel.

Pretend they do not exist using exists_if. This is better than
the current situation, which is the error:

    Error: The external function `llvm_global_succ' is not available

but still somewhat confusing.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@220845 91177308-0d34-0410-b5e6-96231b3b80d8
bindings/ocaml/backends/META.llvm_backend.in
bindings/ocaml/llvm/META.llvm.in