hooks/prepare-32bit: fix shlib-provides detection for subpkgs.

This commit is contained in:
Juan RP 2014-07-23 12:54:37 +02:00
parent 0a3ed1232d
commit a29e0f1f9d
1 changed files with 1 additions and 1 deletions

View File

@ -124,7 +124,7 @@ hook() {
printf "${pkgn}${pkgv} " >> ${destdir32}/rdeps
fi
else
if [ -s ${XBPS_DESTDIR}/${pkgn}-32bit-${version}/shlib-provides ]; then
if [ -s ${XBPS_DESTDIR}/${pkgn}-${version}/shlib-provides ]; then
# Dependency is a subpkg; check if it provides any shlib
# and convert to 32bit if true.
echo " RDEP: $f -> ${pkgn}-32bit${pkgv}"