New build-helper: qemu

This commit is contained in:
John 2019-10-19 15:25:45 +02:00 committed by John Zimmermann
parent 387cf14520
commit f4273541b8
4 changed files with 13 additions and 8 deletions

View file

@ -0,0 +1,6 @@
if [ "$CROSS_BUILD" ]; then
export QEMU_LD_PREFIX=${XBPS_CROSS_BASE}
if [[ $hostmakedepends != *"qemu-user-static"* ]]; then
hostmakedepends+=" qemu-user-static"
fi
fi