mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-08-01 21:23:51 -09:00
Changelog: https://pecl.php.net/package-changelog.php?package=APCu
Since Buildroot commit [1] (package/php: bump version to 8.4.13)
php-acpu is failing to build with errors such as:
arm-linux-gcc.br_real: error: -DZEND_COMPILE_DL_EXT=1: linker input file not found: No such file or directory
This commits fixes the issue.
Fixes:
https://gitlab.com/buildroot.org/buildroot/-/jobs/12104755570
[1] a9e5cf6ac2
Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Reviewed-by: Herve Codina <herve.codina@bootlin.com>
[Julien: add commit log info about build failure]
Signed-off-by: Julien Olivain <ju.o@free.fr>
30 lines
802 B
Makefile
30 lines
802 B
Makefile
################################################################################
|
|
#
|
|
# php-apcu
|
|
#
|
|
################################################################################
|
|
|
|
PHP_APCU_VERSION = 5.1.27
|
|
PHP_APCU_SITE = http://pecl.php.net/get
|
|
PHP_APCU_SOURCE = apcu-$(PHP_APCU_VERSION).tgz
|
|
PHP_APCU_LICENSE = PHP-3.01
|
|
PHP_APCU_LICENSE_FILES = LICENSE
|
|
PHP_APCU_DEPENDENCIES = php host-autoconf
|
|
|
|
PHP_APCU_CONF_OPTS = \
|
|
--with-php-config=$(STAGING_DIR)/usr/bin/php-config
|
|
|
|
define PHP_APCU_PHPIZE
|
|
(cd $(@D); \
|
|
PHP_AUTOCONF=$(HOST_DIR)/bin/autoconf \
|
|
PHP_AUTOHEADER=$(HOST_DIR)/bin/autoheader \
|
|
$(STAGING_DIR)/usr/bin/phpize)
|
|
endef
|
|
PHP_APCU_PRE_CONFIGURE_HOOKS += PHP_APCU_PHPIZE
|
|
|
|
ifeq ($(BR2_TOOLCHAIN_HAS_SYNC_4),)
|
|
PHP_APCU_CONF_OPTS += --disable-apcu-rwlocks
|
|
endif
|
|
|
|
$(eval $(autotools-package))
|