File: discover.ml

package info (click to toggle)
ocaml-mirage-crypto 2.0.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 12,524 kB
  • sloc: ansic: 91,925; ml: 9,700; makefile: 5
file content (10 lines) | stat: -rw-r--r-- 248 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
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
  )