php8: fix PHP8_GETTEXT missing icu dependency

With CONFIG_PHP8_GETTEXT php8 always gains a
dependency on a version of the 'icu' package,
however said dependency is not declared, so
on gets compilation errors when
CONFIG_PHP8_GETTEXT=y but PACKAGE_icu is not
selected.

Therefore select PACKAGE_icu when PHP8_GETTEXT is
selected.

Closes #28207

Signed-off-by: Daniel F. Dickinson <dfdpublic@wildtechgarden.ca>
This commit is contained in:
Daniel F. Dickinson
2025-12-30 20:27:14 -05:00
committed by Michael Heimpold
parent 851bfade60
commit 996046e642

View File

@@ -81,6 +81,7 @@ define Package/php8/config
config PHP8_GETTEXT
bool "Enable gettext"
select PACKAGE_icu
default y
config PHP8_INTL