nixpkgs/pkgs/development/tools/misc/pkg-config/setup-hook.sh

7 lines
178 B
Bash

addPkgConfigPath () {
addToSearchPath PKG_CONFIG_PATH $1/lib/pkgconfig
addToSearchPath PKG_CONFIG_PATH $1/share/pkgconfig
}
addEnvHooks "$targetOffset" addPkgConfigPath