mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2025-01-02 17:09:09 +03:00
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)
|