xbps-src: force reconfiguration of base-directories in sysroot.
... otherwise some required symlinks in sysroot aren't created, and this seems to be required when cross compiling for i686.
This commit is contained in:
parent
fbcf8c0694
commit
313cdf6ee6
|
@ -19,10 +19,6 @@ 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
|
||||
|
|
|
@ -47,6 +47,8 @@ prepare_cross_sysroot() {
|
|||
msg_error "cannot continue due to errors above\n"
|
||||
fi
|
||||
rm -f $errlog
|
||||
# Create top level symlinks in sysroot.
|
||||
XBPS_ARCH=$XBPS_TARGET_ARCH xbps-reconfigure -r $XBPS_CROSS_BASE -f base-directories
|
||||
|
||||
return 0
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue