An Open Source Linux daemon for managing library compile/link flags on your distribution
The software manages library link and compile flags that work with both autoconf and automake tools. It is designed to replace the universal *-config scripts and it’s language-agnostic.
pkg-config is a cross-platform software that has been succesfully tested and it works well on the Linux, FreeBSD, Apple Mac OS X and Microsoft Windows operating systems.
In a hurry? Add it to your Download Basket!
What's New in This Release:
- Fixed a pair of long-standing and intertwined bugs involving unwanted removal of flags. The first is that other Libs flags like -Wl are now kept in context order with -l flags. The second is that aggressive removal of all duplicate arguments has been scaled back so that just consecutive duplicate arguments are removed. One result of this change is that some flags could be repeated in the final output, especially flags from non-pkg-config packages like -lm. Since pkg-config rarely has enough knowledge here about the right thing to do, we throw the duplicate arguments at the compiler/linker and trust it will do the right thing.
- Fixed an old bug to allow circular Requires. This fix brings along a small behavior change in that pkg-config resolves requires depth first, causing some lower level flags to show up earlier in the output than previously.
- Cleaned up many corner-case bugs and ambiguous behavior in pkg-config's interface. Thanks to Michał Górny for finding so many of these.
- New autoconf macro PKG_CHECK_VAR for reading variables from .pc files.