Dash:
[t2-trunk.git] / package / base / pkgconfig / profile_d_pkgconfig.sh
blobb5caab7495e926f13f177bb2d29e8d8fd822f6b5
1 # set the PKG_CONFIG_PATH variable
3 export PKG_CONFIG_PATH=""
4 for x in {,/usr,/opt}{,/*}/{share,lib?*,lib}/pkgconfig $HOME/lib{?*,}/pkgconfig; do
5 [ -d $x ] && PKG_CONFIG_PATH="$PKG_CONFIG_PATH:$x"
6 done