Module Ocb_stubblr.Pkg_config
Query pkg-config.
pkg-config is invoked with the environment extended with the equivalent of
PKG_CONFIG_PATH=$(opam config var prefix)/{lib,share}/pkgconfig. This means that any .pc files in the current Opam switch take precedence over the system-wide ones.
val run : flags:string list -> string -> [ `Nonexistent | `Res of string ]run ~flags packagequeriespkg-configaboutpackage, usingflags.`Nonexistentmeans that the package was not found. Otherwise,`Res outputis whateverpkg-configprints on the standard output.Note Currently, all errors in
pkg-configinvocation results in`Nonexistent.