Skip to content
EntityQ282972· pop 9· linked from 51 articles

pkg-config

Sign in to save

pkg-config is a software development tool that queries information about libraries from a local, file-based database for the purpose of building a codebase that depends on them. It allows for sharing a codebase in a cross-platform way by using host-specific library information that is stored outside of yet referenced by the codebase. This indirection allows the codebase to build on a host without encoding host-specific library information in the codebase.

Wikidata facts

Show 2 more facts
software version identifier
0.29.2
source code repository URL
git://anongit.freedesktop.org/pkg-config
Sources (6)

via Wikidata · CC0

~3 min read

Article

5 sections
Contents
  • Database
  • Example
  • Alternative implementations
  • References
  • External links

pkg-config is a software development tool that queries information about libraries from a local, file-based database for the purpose of building a codebase that depends on them. It allows for sharing a codebase in a cross-platform way by using host-specific library information that is stored outside of yet referenced by the codebase. This indirection allows the codebase to build on a host without encoding host-specific library information in the codebase.

The tool is invoked via its command line interface (CLI), and it reports library information via standard output. Some information, such as version information, is more useful to the programmer. Other information, such as command-line options (flags), is more useful to build tools such as a compiler and a linker.

Available in 9 languages

via Wikidata sitelinks · CC0

Connections

Categories