blob: 77a69fb18781afd43e81930f1d7e1f97708b0d98 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
|
addPkgConfigPath () {
addToSearchPath PKG_CONFIG_PATH $1/lib/pkgconfig
addToSearchPath PKG_CONFIG_PATH $1/share/pkgconfig
}
if test -n "$crossConfig"; then
crossEnvHooks=(${crossEnvHooks[@]} addPkgConfigPath)
else
envHooks=(${envHooks[@]} addPkgConfigPath)
fi
|