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