package dune

  1. Overview
  2. Docs
type t
val get : t -> t option

Search pkg-config in the PATH. Returns None if pkg-config is not found.

type package_conf = {
  1. libs : string list;
  2. cflags : string list;
}
val query : t -> package:string -> package_conf option

query t ~package query pkg-config for the package. The package may contain a version constraint. For example "gtk+-3.0 >= 3.18". Returns None if package is not available

OCaml

Innovation. Community. Security.