wine: needs LFS

This commit is contained in:
Đoàn Trần Công Danh 2023-05-18 10:28:51 +07:00
parent ac3ddd2e8b
commit 096f82d7d7
1 changed files with 8 additions and 9 deletions

View File

@ -57,15 +57,14 @@ lib32depends="libXi-32bit>=0 libXinerama-32bit>=0 libXcomposite-32bit>=0
# This testsuite might hang indefinitely
make_check=extended
case $XBPS_TARGET_MACHINE in
x86_64*) configure_args+=" --enable-win64 --libdir=/usr/lib"
_wine_suffix="64"
_wineserver_suffix=${_wine_suffix}
;;
*)
_wineserver_suffix="32"
;;
esac
if [ "$XBPS_TARGET_WORDSIZE" != 32 ]; then
configure_args+=" --enable-win64 --libdir=/usr/lib"
_wine_suffix="64"
_wineserver_suffix=${_wine_suffix}
else
_wineserver_suffix="32"
CFLAGS=" -D_LARGE_FILE_SOURCE=1 -D_FILE_OFFSET_BITS=64"
fi
if [ "$XBPS_LIBC" = "glibc" ]; then
hostmakedepends+=" prelink"