talira

pkgconf

Package compiler and linker metadata toolkit

open sourceISCfree

pkgconf finds the compiler and linker flags for development libraries from their .pc files. It's a superset of freedesktop.org's pkg-config (without bug-for-bug compatibility) and is the pkg-config on many Linux distributions and BSDs. It builds a flattened dependency graph, which allows more conservative linking, and its solver handles graphs with hundreds of dependencies. libpkgconf gives compilers and IDEs the same lookups as a library, and bomtool and spdxtool write a software bill of materials (SPDX 2.0, SPDX Lite 3.0.1) for a set of pkg-config modules. It builds with Meson, or as a single pkgconf-lite binary.

Problems it solves

  • find the compiler and linker flags for a C library I depend on
  • a faster pkg-config replacement for my build
  • generate an SBOM for the C libraries my program links against
  • look up installed libraries from my own build tool or IDE

Features

  • superset of pkg-config
  • flattened dependency graph for conservative linking
  • libpkgconf library
  • bomtool and spdxtool SBOM generators
  • pkgconf-lite single binary

Capabilities

Has a command line toolplan not known
Has official SDKsplan not known