nixpkgs/pkgs/development/tools/misc/pkgconfig/setup-hook.sh
Eelco Dolstra 92f6176390 * pkg-config (note name change): updated to 0.23. Also, look in
share/pkgconfig in addition to lib/pkgconfig.

svn path=/nixpkgs/branches/stdenv-updates/; revision=10993
2008-03-06 16:22:24 +00:00

7 lines
184 B
Bash

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