Skip to content

Commit

Permalink
_build.sh: try wine if wine64 is missing on macOS [ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
vszakats committed Jan 2, 2025
1 parent 06f0acb commit 839f6bd
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions _build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -686,9 +686,12 @@ build_single_target() {
fi
elif [ "${_HOST}" = 'mac' ]; then
# Run x64 targets on Intel and ARM (requires Wine 6.0.1):
if [ "${_CPU}" = 'x64' ] && \
command -v wine64 >/dev/null 2>&1; then
_RUN_BIN='wine64'
if [ "${_CPU}" = 'x64' ]; then
if command -v wine64 >/dev/null 2>&1; then
_RUN_BIN='wine64'
elif command -v wine >/dev/null 2>&1; then
_RUN_BIN='wine'
fi
fi
fi
fi
Expand Down

0 comments on commit 839f6bd

Please sign in to comment.