repo.or.cz
/
t2-trunk.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Dash:
[t2-trunk.git]
/
package
/
base
/
pkgconfig
/
profile_d_pkgconfig.sh
blob
b5caab7495e926f13f177bb2d29e8d8fd822f6b5
1
# set the PKG_CONFIG_PATH variable
2
#
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