Home Explore Blog CI



nixpkgs

doc/hooks/pkg-config.section.md
be06e995129f8d68bedda8a114f4aabcc615cd6458ca853200000003000000a8
# 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.