This commit is contained in:
parent
aa2ff7b2f0
commit
2f3113f55d
11742 changed files with 1223940 additions and 0 deletions
30
unikernel/duniverse/mirage-crypto/rng/unix/dune
Normal file
30
unikernel/duniverse/mirage-crypto/rng/unix/dune
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
(executable
|
||||
(name discover)
|
||||
(modules discover)
|
||||
(libraries dune-configurator))
|
||||
|
||||
(rule
|
||||
(targets rng_c_flags.sexp)
|
||||
(action
|
||||
(run ./discover.exe)))
|
||||
|
||||
(rule
|
||||
(targets cflags_warn.sexp)
|
||||
(action
|
||||
(run ../../config/cfg.exe)))
|
||||
|
||||
(library
|
||||
(name mirage_crypto_rng_unix)
|
||||
(public_name mirage-crypto-rng.unix)
|
||||
(modules mirage_crypto_rng_unix urandom getentropy)
|
||||
(libraries mirage-crypto-rng unix logs threads.posix)
|
||||
(foreign_stubs
|
||||
(language c)
|
||||
(include_dirs ../../src/native)
|
||||
(names mc_getrandom_stubs))
|
||||
(c_library_flags
|
||||
(:include rng_c_flags.sexp)))
|
||||
|
||||
(env
|
||||
(dev
|
||||
(c_flags (:include cflags_warn.sexp))))
|
||||
Loading…
Add table
Add a link
Reference in a new issue