common/hooks/pre-pkg/05-prepare-32bit.sh: create needed subdirectories for lib32symlinks.

This commit is contained in:
Christian Neukirchen 2016-03-07 18:42:06 +01:00
parent 955b368200
commit a3a0303673

View file

@ -164,7 +164,7 @@ hook() {
# Additional symlinks to the native libdir.
for f in ${lib32symlinks}; do
echo "$pkgver: symlinking $f to the native libdir..."
mkdir -p ${destdir32}/usr/lib{,32}
mkdir -p ${destdir32}/usr/lib{,32}/$(dirname ${f})
ln -sfr ${destdir32}/usr/lib32/$f ${destdir32}/usr/lib/$f
done
# If it's a development pkg add a dependency to the 64bit pkg.