void-packages/common/hooks/pre-install/00-lib32.sh

9 lines
165 B
Bash
Raw Normal View History

# This hook creates the /usr/lib32 symlink for x86.
hook() {
if [ "$XBPS_TARGET_MACHINE" = "i686" ]; then
vmkdir usr/lib
ln -sf lib ${DESTDIR}/usr/lib32
fi
}