vp-build/common/hooks/post-install/98-lib32.sh
Juan RP 77451b1845 Use --libdir=/usr/lib32 on x86 and create/remove the symlink via hooks.
This is to make all pkgs that use ${configure_args} work without changes
to the templates on x86_64.
2014-04-05 11:52:22 +02:00

8 lines
142 B
Bash

# This hook removes the /usr/lib32 symlink on x86.
hook() {
if [ "$XBPS_TARGET_MACHINE" = "i686" ]; then
rm -f ${DESTDIR}/usr/lib32
fi
}