Home Explore Blog Models CI



nixpkgs

1st chunk of `doc/hooks/pkg-config.section.md`
ad28b75dfc45f6608fc98ef4845ae71ef566f74241a1009a00000001000000a8
# 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.

Title: pkg-config Environment Variable Setup
Summary
This text describes how the `pkg-config` setup hook functions by automatically adding the `lib/pkgconfig` and `share/pkgconfig` subdirectories from all build inputs to the `PKG_CONFIG_PATH` environment variable.