This commit is contained in:
parent
aa2ff7b2f0
commit
2f3113f55d
11742 changed files with 1223940 additions and 0 deletions
10
unikernel/duniverse/mirage-crypto/rng/unix/discover.ml
Normal file
10
unikernel/duniverse/mirage-crypto/rng/unix/discover.ml
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
let () =
|
||||
let open Configurator.V1 in
|
||||
main ~name:"rng_flags" (fun _t ->
|
||||
let c_lib_flags =
|
||||
match Sys.os_type with
|
||||
| "Win32" | "Cygwin" -> ["-lbcrypt"]
|
||||
| _ -> []
|
||||
in
|
||||
Flags.write_sexp "rng_c_flags.sexp" c_lib_flags
|
||||
)
|
||||
Loading…
Add table
Add a link
Reference in a new issue