2019-12-14 23:40:22 +00:00
|
|
|
# This hook creates the /usr/lib32 symlink for 32-bit systems.
|
2014-04-05 09:52:22 +00:00
|
|
|
|
|
|
|
hook() {
|
2019-12-14 23:40:22 +00:00
|
|
|
if [ "$XBPS_TARGET_WORDSIZE" = "32" ] && \
|
|
|
|
[ "${pkgname}" != "base-files" ]; then
|
2014-04-05 09:52:22 +00:00
|
|
|
vmkdir usr/lib
|
2015-01-14 13:22:18 +00:00
|
|
|
ln -sf lib ${PKGDESTDIR}/usr/lib32
|
2014-04-05 09:52:22 +00:00
|
|
|
fi
|
|
|
|
}
|