From 0747f21e126d4eea94bd0ee0478612b2560fe73e Mon Sep 17 00:00:00 2001 From: Thomas Petazzoni Date: Mon, 3 Jul 2017 23:13:28 +0200 Subject: 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 --- package/php/php.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'package/php/php.mk') 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) -- cgit v1.2.3