2018-04-04 12:01:47 +04:00
|
|
|
(library
|
2018-07-25 23:06:02 +04:00
|
|
|
(name libsecp256k1)
|
|
|
|
(public_name secp256k1)
|
|
|
|
(modules internal external)
|
|
|
|
(libraries bigstring cstruct)
|
|
|
|
(c_names secp256k1
|
|
|
|
secp256k1_wrap)
|
|
|
|
(c_flags (:include c_flags.sexp))
|
|
|
|
(c_library_flags (-lgmp)))
|
2018-04-04 12:01:47 +04:00
|
|
|
|
|
|
|
(rule
|
2018-07-25 23:06:02 +04:00
|
|
|
(targets c_flags.sexp)
|
|
|
|
(action (run %{exe:../config/discover.exe} -ocamlc %{ocaml})))
|