projects
/
platform
/
upstream
/
rpm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1f6ad32
)
Prepend PKG_CONFIG_PATH on pkgconfig requires extraction too (rhbz#473814)
author
Panu Matilainen
<pmatilai@redhat.com>
Mon, 2 Feb 2009 12:17:27 +0000
(14:17 +0200)
committer
Panu Matilainen
<pmatilai@redhat.com>
Mon, 2 Feb 2009 12:17:27 +0000
(14:17 +0200)
- similar to
ab02fb183a441b6a30c863aebf49be992cd431fe
but for requires
scripts/pkgconfigdeps.sh
patch
|
blob
|
history
diff --git
a/scripts/pkgconfigdeps.sh
b/scripts/pkgconfigdeps.sh
index
6baa0f1
..
2251abe
100755
(executable)
--- a/
scripts/pkgconfigdeps.sh
+++ b/
scripts/pkgconfigdeps.sh
@@
-34,6
+34,8
@@
case $1 in
*.pc)
i="`expr $i + 1`"
[ $i -eq 1 ] && echo "$pkgconfig"
+ DIR="`dirname ${filename}`"
+ export PKG_CONFIG_PATH="$DIR:$DIR/../../share/pkgconfig"
$pkgconfig --print-requires "$filename" 2> /dev/null | while read n r v ; do
echo "pkgconfig($n)" "$r" "$v"
done