mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-19 02:52:53 +02:00
[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. llvm-svn: 220845
This commit is contained in:
parent
abfbb4539f
commit
7624f67acb
@ -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 = "."
|
||||
|
@ -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" (
|
||||
|
Loading…
Reference in New Issue
Block a user