mirror of
https://github.com/RPCSX/llvm.git
synced 2025-01-30 00:32:53 +00: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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@220845 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
a226572e59
commit
2e9579037d
@ -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…
x
Reference in New Issue
Block a user