From a3a03036737225726095ae2d081207cfbf78a69c Mon Sep 17 00:00:00 2001 From: Christian Neukirchen Date: Mon, 7 Mar 2016 18:42:06 +0100 Subject: [PATCH] common/hooks/pre-pkg/05-prepare-32bit.sh: create needed subdirectories for lib32symlinks. --- common/hooks/pre-pkg/05-prepare-32bit.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.