2019-10-19 15:25:45 +02:00
|
|
|
if [ "$CROSS_BUILD" ]; then
|
|
|
|
export QEMU_LD_PREFIX=${XBPS_CROSS_BASE}
|
|
|
|
if [[ $hostmakedepends != *"qemu-user-static"* ]]; then
|
|
|
|
hostmakedepends+=" qemu-user-static"
|
|
|
|
fi
|
|
|
|
fi
|
2020-06-14 00:00:05 +02:00
|
|
|
|
|
|
|
vtargetrun() {
|
|
|
|
if [ "$CROSS_BUILD" ]; then
|
|
|
|
"/usr/bin/qemu-${XBPS_TARGET_QEMU_MACHINE}-static" "$@"
|
|
|
|
else
|
|
|
|
"$@"
|
|
|
|
fi
|
|
|
|
}
|