2020-12-21 19:16:05 +01:00
|
|
|
# This hook creates the wordsize specific libdir symlink.
|
|
|
|
|
|
|
|
hook() {
|
2021-02-08 00:47:45 +01:00
|
|
|
if [ -L ${PKGDESTDIR}/usr/lib${XBPS_TARGET_WORDSIZE} ]; then
|
|
|
|
return 0
|
|
|
|
elif [ "${pkgname}" != "base-files" ]; then
|
2020-12-21 19:16:05 +01:00
|
|
|
vmkdir usr/lib
|
|
|
|
ln -sf lib ${PKGDESTDIR}/usr/lib${XBPS_TARGET_WORDSIZE}
|
|
|
|
fi
|
|
|
|
}
|