vp-build/common/hooks/pre-install/00-lib32.sh
2019-12-15 09:17:51 +01:00

10 lines
220 B
Bash

# This hook creates the /usr/lib32 symlink for 32-bit systems.
hook() {
if [ "$XBPS_TARGET_WORDSIZE" = "32" ] && \
[ "${pkgname}" != "base-files" ]; then
vmkdir usr/lib
ln -sf lib ${PKGDESTDIR}/usr/lib32
fi
}