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

7 lines
178 B
Bash
Raw Normal View History

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