pkg-config search path: PKG_CONFIG_PATH vs. PKG_CONFIG_LIBDIR

pkg-config is a very convenient tool for auto-configuring builds. The documentation includes a manual page and a guide.

Read more of this post