environment/configure: create lib32 symlink on i686.

otherwise in cross compilation the lib32 symlink is not created, because
base-directories post-install script is skipped.
This commit is contained in:
Juan RP 2015-04-13 09:24:27 +02:00
parent d7c0f4496e
commit e898f68084

View file

@ -19,6 +19,10 @@ if [ -z "$CROSS_BUILD" ]; then
return 0
fi
if [ "$XBPS_TARGET_MACHINE" = "i686" ]; then
ln -sf lib ${XBPS_CROSS_BASE}/usr/lib32
fi
export configure_args+=" --host=$XBPS_CROSS_TRIPLET --with-sysroot=$XBPS_CROSS_BASE --with-libtool-sysroot=$XBPS_CROSS_BASE "
_AUTOCONFCACHEDIR=${XBPS_COMMONDIR}/environment/configure/autoconf_cache