summaryrefslogtreecommitdiff
path: root/package/php/Config.ext
diff options
context:
space:
mode:
Diffstat (limited to 'package/php/Config.ext')
-rw-r--r--package/php/Config.ext6
1 files changed, 5 insertions, 1 deletions
diff --git a/package/php/Config.ext b/package/php/Config.ext
index 9b53e872b..0f5b98205 100644
--- a/package/php/Config.ext
+++ b/package/php/Config.ext
@@ -67,10 +67,14 @@ config BR2_PACKAGE_PHP_EXT_FTP
config BR2_PACKAGE_PHP_EXT_GETTEXT
bool "gettext"
- select BR2_PACKAGE_GETTEXT
+ select BR2_PACKAGE_GETTEXT if BR2_NEEDS_GETTEXT
+ depends on BR2_USE_WCHAR
help
gettext support
+comment "gettext support requires a toolchain with WCHAR support"
+ depends on !BR2_USE_WCHAR
+
config BR2_PACKAGE_PHP_EXT_GMP
bool "gmp"
select BR2_PACKAGE_LIBGMP