mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-30 23:34:12 +03:00
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)
|