2004-03-09 11:45:01 +01:00
|
|
|
addPkgConfigPath () {
|
2007-11-12 14:51:46 +01:00
|
|
|
if test -d $1/lib/pkgconfig; then
|
|
|
|
export PKG_CONFIG_PATH="${PKG_CONFIG_PATH}${PKG_CONFIG_PATH:+:}$1/lib/pkgconfig"
|
|
|
|
fi
|
2004-03-09 11:45:01 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
envHooks=(${envHooks[@]} addPkgConfigPath)
|