diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2009-02-02 14:17:27 +0200 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2009-02-02 14:17:27 +0200 |
commit | 6ce7def270994a675836e2b945a7f70eb2b03c2b (patch) | |
tree | 67d323555a19f758906a2fd58b588c6d1d5a0b23 /scripts | |
parent | 1f6ad324dbf4bebec905ddbb76d274345673a5b3 (diff) | |
download | librpm-tizen-6ce7def270994a675836e2b945a7f70eb2b03c2b.tar.gz librpm-tizen-6ce7def270994a675836e2b945a7f70eb2b03c2b.tar.bz2 librpm-tizen-6ce7def270994a675836e2b945a7f70eb2b03c2b.zip |
Prepend PKG_CONFIG_PATH on pkgconfig requires extraction too (rhbz#473814)
- similar to ab02fb183a441b6a30c863aebf49be992cd431fe but for requires
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/pkgconfigdeps.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/pkgconfigdeps.sh b/scripts/pkgconfigdeps.sh index 6baa0f1a5..2251abe38 100755 --- 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 |