# pkg-config {#setup-hook-pkg-config}
Adds the `lib/pkgconfig` and `share/pkgconfig` subdirectories of each build input to the `PKG_CONFIG_PATH` environment variable.
Chunks
e0c57f16 (1st chunk of `doc/hooks/pkg-config.section.md`)
Title: pkg-config Setup Hook
Summary
This setup hook modifies the PKG_CONFIG_PATH environment variable by adding the `lib/pkgconfig` and `share/pkgconfig` subdirectories from each build input. This allows `pkg-config` to find package information.