From 9b6302d7b34e59797a28308fc74e132ab6dd248f Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 21 Sep 2024 01:00:40 +0000 Subject: [PATCH] build: sync with upstream 2024-09-21 https://github.com/void-linux/void-packages/commit/10aca171 --- common/build-helper/gir.sh | 2 +- common/build-helper/qemu.sh | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/common/build-helper/gir.sh b/common/build-helper/gir.sh index e4ecd4f..720aa94 100644 --- a/common/build-helper/gir.sh +++ b/common/build-helper/gir.sh @@ -17,7 +17,7 @@ if [ "$build_option_gir" ] || [[ $build_options != *"gir"* ]]; then if [ "$CROSS_BUILD" ]; then # Required for running binaries produced from g-ir-compiler # via g-ir-scanner-qemuwrapper - hostmakedepends+=" qemu-user" + hostmakedepends+=" qemu-user-${XBPS_TARGET_QEMU_MACHINE/x86_64/amd64}" # Required for running the g-ir-scanner-lddwrapper hostmakedepends+=" prelink-cross" diff --git a/common/build-helper/qemu.sh b/common/build-helper/qemu.sh index f5c5658..4fbd5fb 100644 --- a/common/build-helper/qemu.sh +++ b/common/build-helper/qemu.sh @@ -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() {