wine: make wow64 a buildoption

This commit is contained in:
John 2024-08-09 14:23:05 +02:00 committed by John Zimmermann
parent 391744075f
commit 51ea97803a
1 changed files with 7 additions and 2 deletions

View File

@ -19,12 +19,17 @@ checksum="24572f49cf3473fc9ef2a1ad1cddf511ce0ef43daa55413b4720a6c3e3c89ea6
# NOTE: wine depends on specific versions of wine-mono and wine-gecko,
# check for updates to these packages when updating wine
build_options="mingw staging xshm"
build_options="mingw staging xshm wow64"
build_options_default="mingw xshm"
desc_option_mingw="Use the MinGW cross compiler to build WinPE DLLs"
desc_option_staging="Apply the wine-staging patchset"
desc_option_xshm="Enable support for the X Shared Memory Extension"
if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
build_options_default+=" wow64"
fi
lib32mode=full
archs="i686* x86_64*"
@ -74,7 +79,7 @@ if [ "$XBPS_LIBC" = "glibc" ]; then
hostmakedepends+=" prelink"
fi
if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
if [ "${build_option_wow64}" ]; then
configure_args+=" --enable-archs=i386,x86_64"
makedepends+=" cross-i686-w64-mingw32"
fi