blob: a84e9fa800719c8f8c88b66e5675b64cdfe89d48 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
(library
(name relational_engine)
(libraries
ctypes
ctypes-foreign
data-encoding
lwt
lwt.unix
lwt-exit
ppx_protocol_conv_xml_light)
(preprocess
(pps ppx_deriving.show ppx_sexp_conv ppx_protocol_conv))
;; (c_library_flags -lssl -lcrypto -L %{env:LIBRESSL_LIB_PATH=})
;; (foreign_stubs
;; (language cxx)
;; (names merklecpp_stubs)
;; (flags
;; (:standard -lssl -lcrypto)
;; (-L %{env:LIBRESSL_LIB_PATH=})
;; (-I %{env:LIBRESSL_INCLUDE_PATH=})
;; (-I %{env:MERKLECPP_INCLUDE_PATH=})))
(ctypes
(external_library_name relational_engine)
(headers
(include %{env:LIBRELATIONAL_ENGINE_INCLUDE_PATH=}/library.h))
(build_flags_resolver
(vendored
(c_flags -L %{env:LIBRELATIONAL_ENGINE_LIB_PATH=})))
(type_description
(instance Types)
(functor core_types))
(function_description
(concurrency unlocked)
(instance Functions)
(functor core_functions))
(generated_types Types_generated)
(generated_entry_point C)))
|