php8: fix PHP8_GETTEXT missing icu dependency
authorDaniel F. Dickinson <dfdpublic@wildtechgarden.ca>
Wed, 31 Dec 2025 01:27:14 +0000 (20:27 -0500)
committerMichael Heimpold <mhei@heimpold.de>
Wed, 31 Dec 2025 12:32:25 +0000 (13:32 +0100)
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>
lang/php8/Makefile

index 70c45f93e3efd6d884593dfb350bc22b17360803..8271421a9a2b28a427c1f448d30936a9668aadc0 100644 (file)
@@ -81,6 +81,7 @@ define Package/php8/config
 
        config PHP8_GETTEXT
                bool "Enable gettext"
+               select PACKAGE_icu
                default y
 
        config PHP8_INTL