hooks/prepare-32bit: update paths to lib32 correctly in pkgconfig files.
This commit is contained in:
parent
aaa547ac3f
commit
f1822d43af
1 changed files with 2 additions and 2 deletions
|
@ -53,8 +53,8 @@ hook() {
|
|||
|
||||
# Switch pkg-config files to lib32.
|
||||
if [ -d ${destdir32}/usr/lib32/pkgconfig ]; then
|
||||
sed -e 's,/usr/lib,/usr/lib32,g' \
|
||||
-e 's,${exec_prefix}/lib,${exec_prefix}/lib32,g' \
|
||||
sed -e 's,/usr/lib$,/usr/lib32,g' \
|
||||
-e 's,${exec_prefix}/lib$,${exec_prefix}/lib32,g' \
|
||||
-i ${destdir32}/usr/lib32/pkgconfig/*.pc
|
||||
fi
|
||||
elif [ "$lib32mode" = "full" ]; then
|
||||
|
|
Loading…
Reference in a new issue