Skip to content

Commit c9c6e42

Browse files
committed
_build.sh: run 32-bit Windows curl.exe on macOS
Also prioritize `wine` (over `win64`).
1 parent cc543ad commit c9c6e42

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

_build.sh

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -691,12 +691,12 @@ build_single_target() {
691691
fi
692692
fi
693693
elif [ "${_HOST}" = 'mac' ]; then
694-
# Run x64 targets on Intel and ARM (requires Wine 6.0.1):
695-
if [ "${_CPU}" = 'x64' ]; then
696-
if command -v wine64 >/dev/null 2>&1; then
697-
_RUN_BIN='wine64'
698-
elif command -v wine >/dev/null 2>&1; then
694+
# Run x64 and x86 targets on Intel and ARM (requires Wine 8.x):
695+
if [[ "${_CPU}" = 'x64' || "${_CPU}" = 'x86' ]]; then
696+
if command -v wine >/dev/null 2>&1; then
699697
_RUN_BIN='wine'
698+
elif command -v wine64 >/dev/null 2>&1; then
699+
_RUN_BIN='wine64'
700700
fi
701701
fi
702702
fi

0 commit comments

Comments
 (0)