php8.3: use qemu build helper instead of depending on qemu-user

This commit is contained in:
classabbyamp 2024-09-18 00:07:45 -04:00 committed by classabbyamp
parent c68308daab
commit 2c15fd3df7
1 changed files with 2 additions and 1 deletions

View File

@ -4,6 +4,7 @@ pkgname=php8.3
version=8.3.10
revision=1
_php_version=8.3
build_helper="qemu"
hostmakedepends="bison pkg-config apache-devel"
makedepends="apache-devel enchant2-devel freetds-devel freetype-devel gdbm-devel
gmp-devel libcurl-devel libjpeg-turbo-devel libmariadbclient-devel
@ -27,7 +28,7 @@ lib32disabled=yes
if [ -n "$CROSS_BUILD" ]; then
# phar and pear need php to build
hostmakedepends+=" php${_php_version} qemu-user"
hostmakedepends+=" php${_php_version}"
CFLAGS+=" -DHAVE_LIBDL
-DHAVE_DLOPEN
-DHAVE_DLSYM