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 # This testsuite might hang indefinitely
make_check=extended make_check=extended
case $XBPS_TARGET_MACHINE in if [ "$XBPS_TARGET_WORDSIZE" != 32 ]; then
x86_64*) configure_args+=" --enable-win64 --libdir=/usr/lib" configure_args+=" --enable-win64 --libdir=/usr/lib"
_wine_suffix="64" _wine_suffix="64"
_wineserver_suffix=${_wine_suffix} _wineserver_suffix=${_wine_suffix}
;; else
*)
_wineserver_suffix="32" _wineserver_suffix="32"
;; CFLAGS=" -D_LARGE_FILE_SOURCE=1 -D_FILE_OFFSET_BITS=64"
esac fi
if [ "$XBPS_LIBC" = "glibc" ]; then if [ "$XBPS_LIBC" = "glibc" ]; then
hostmakedepends+=" prelink" hostmakedepends+=" prelink"