nixpkgs/pkgs/development/tools/misc/pkgconfig/setup-hook.sh
Yury G. Kudryashov 16b44ea14d Some setup-hooks with new syntax; pkgconfig upgraded to 0.22
svn path=/nixpkgs/trunk/; revision=9645
2007-11-11 20:32:43 +00:00

6 lines
122 B
Bash

addPkgConfigPath () {
addToSearchPath PKG_CONFIG_PATH /lib/pkgconfig "" $1
}
envHooks=(${envHooks[@]} addPkgConfigPath)