summaryrefslogtreecommitdiffstats
path: root/package/php/php.mk
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2017-07-03 23:13:28 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2017-07-05 01:34:03 +0200
commit0747f21e126d4eea94bd0ee0478612b2560fe73e (patch)
tree10e78a9298851d8e6a5c89e066cc6f208e31a489 /package/php/php.mk
parentbdef565cd6437d54f245563241e4a8e3f57fd489 (diff)
downloadbuildroot-0747f21e126d4eea94bd0ee0478612b2560fe73e.tar.gz
buildroot-0747f21e126d4eea94bd0ee0478612b2560fe73e.zip
php: use the new gettext logic
This commit switches to use the new gettext logic, which involves: - using TARGET_NLS_DEPENDENCIES instead of hand-encoded dependencies on gettext/host-gettext - dropping BR2_PACKAGE_GETTEXT selection. Thanks to this, we can drop the BR2_USE_WCHAR dependency Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/php/php.mk')
-rw-r--r--package/php/php.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/php/php.mk b/package/php/php.mk
index fe531a4ae9..1a1ed21718 100644
--- a/package/php/php.mk
+++ b/package/php/php.mk
@@ -160,7 +160,7 @@ endif
ifeq ($(BR2_PACKAGE_PHP_EXT_GETTEXT),y)
PHP_CONF_OPTS += --with-gettext=$(STAGING_DIR)/usr
-PHP_DEPENDENCIES += $(if $(BR2_NEEDS_GETTEXT),gettext)
+PHP_DEPENDENCIES += $(TARGET_NLS_DEPENDENCIES)
endif
ifeq ($(BR2_PACKAGE_PHP_EXT_ICONV),y)
OpenPOWER on IntegriCloud