hooks/prepare-32bit: update paths to lib32 correctly in pkgconfig files.

This commit is contained in:
Juan RP 2014-08-18 10:54:33 +02:00
parent aaa547ac3f
commit f1822d43af
1 changed files with 2 additions and 2 deletions

View File

@ -53,8 +53,8 @@ hook() {
# Switch pkg-config files to lib32. # Switch pkg-config files to lib32.
if [ -d ${destdir32}/usr/lib32/pkgconfig ]; then if [ -d ${destdir32}/usr/lib32/pkgconfig ]; then
sed -e 's,/usr/lib,/usr/lib32,g' \ sed -e 's,/usr/lib$,/usr/lib32,g' \
-e 's,${exec_prefix}/lib,${exec_prefix}/lib32,g' \ -e 's,${exec_prefix}/lib$,${exec_prefix}/lib32,g' \
-i ${destdir32}/usr/lib32/pkgconfig/*.pc -i ${destdir32}/usr/lib32/pkgconfig/*.pc
fi fi
elif [ "$lib32mode" = "full" ]; then elif [ "$lib32mode" = "full" ]; then