mirror of
https://github.com/xHyroM/void-packages.git
synced 2024-12-29 07:21:06 +01:00
12 lines
260 B
Bash
12 lines
260 B
Bash
if [ "$CROSS_BUILD" ]; then
|
|
export QEMU_LD_PREFIX=${XBPS_CROSS_BASE}
|
|
hostmakedepends+=" qemu-user-${XBPS_TARGET_QEMU_MACHINE/x86_64/amd64}"
|
|
fi
|
|
|
|
vtargetrun() {
|
|
if [ "$CROSS_BUILD" ]; then
|
|
"/usr/bin/qemu-${XBPS_TARGET_QEMU_MACHINE}" "$@"
|
|
else
|
|
"$@"
|
|
fi
|
|
}
|