Home Explore Blog Models 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
ad28b75d (1st chunk of `doc/hooks/pkg-config.section.md`)
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.