common/build-helper/qemu: only install the relevant user emulator

now that the package is split, we don't have to install every emulator
under the sun.
This commit is contained in:
classabbyamp 2024-09-18 00:04:30 -04:00 committed by classabbyamp
parent 9fd44d9047
commit 66e9495c31

View File

@ -1,8 +1,6 @@
if [ "$CROSS_BUILD" ]; then
export QEMU_LD_PREFIX=${XBPS_CROSS_BASE}
if [[ $hostmakedepends != *"qemu-user"* ]]; then
hostmakedepends+=" qemu-user"
fi
hostmakedepends+=" qemu-user-${XBPS_TARGET_QEMU_MACHINE/x86_64/amd64}"
fi
vtargetrun() {