forked from mirrors/nixpkgs
c8455be838
svn path=/nixpkgs/trunk/; revision=822
8 lines
202 B
Bash
8 lines
202 B
Bash
addPkgConfigPath () {
|
|
if test -d $1/lib/pkgconfig; then
|
|
export PKG_CONFIG_PATH="${PKG_CONFIG_PATH}${PKG_CONFIG_PATH:+:}$1/lib/pkgconfig"
|
|
fi
|
|
}
|
|
|
|
envHooks=(${envHooks[@]} addPkgConfigPath)
|