aboutsummaryrefslogtreecommitdiff
path: root/common/hooks/pre-pkg
diff options
context:
space:
mode:
authorChristian Neukirchen <chneukirchen@gmail.com>2016-03-07 17:42:06 +0000
committerChristian Neukirchen <chneukirchen@gmail.com>2016-03-07 17:42:34 +0000
commita3a03036737225726095ae2d081207cfbf78a69c (patch)
tree35286ddb6141e044c7439c62e7c71f1ecd81da63 /common/hooks/pre-pkg
parent955b3682000f5386d77d9eaac6d24e9499316ce3 (diff)
downloadvoid-packages-a3a03036737225726095ae2d081207cfbf78a69c.tar
void-packages-a3a03036737225726095ae2d081207cfbf78a69c.tar.gz
void-packages-a3a03036737225726095ae2d081207cfbf78a69c.tar.bz2
void-packages-a3a03036737225726095ae2d081207cfbf78a69c.tar.lz
void-packages-a3a03036737225726095ae2d081207cfbf78a69c.tar.xz
void-packages-a3a03036737225726095ae2d081207cfbf78a69c.tar.zst
void-packages-a3a03036737225726095ae2d081207cfbf78a69c.zip
common/hooks/pre-pkg/05-prepare-32bit.sh: create needed subdirectories for lib32symlinks.
Diffstat (limited to 'common/hooks/pre-pkg')
-rw-r--r--common/hooks/pre-pkg/05-prepare-32bit.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/hooks/pre-pkg/05-prepare-32bit.sh b/common/hooks/pre-pkg/05-prepare-32bit.sh
index a1535b2d9b8..881d87aea60 100644
--- a/common/hooks/pre-pkg/05-prepare-32bit.sh
+++ b/common/hooks/pre-pkg/05-prepare-32bit.sh
@@ -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.