From bf216e48e1a163c19f8130bbb9792089b0fec544 Mon Sep 17 00:00:00 2001 From: Thomas Petazzoni Date: Tue, 4 Jul 2017 12:34:29 +0200 Subject: [PATCH] python: 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. Signed-off-by: Thomas Petazzoni --- package/python/python.mk | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/package/python/python.mk b/package/python/python.mk index d3f7b31b10..8724d8c826 100644 --- a/package/python/python.mk +++ b/package/python/python.mk @@ -54,16 +54,12 @@ HOST_PYTHON_CONF_ENV += \ # MAKE1 has shown to workaround the problem. HOST_PYTHON_MAKE = $(MAKE1) -PYTHON_DEPENDENCIES = host-python libffi +PYTHON_DEPENDENCIES = host-python libffi $(TARGET_NLS_DEPENDENCIES) HOST_PYTHON_DEPENDENCIES = host-expat host-zlib PYTHON_INSTALL_STAGING = YES -ifeq ($(BR2_PACKAGE_GETTEXT),y) -PYTHON_DEPENDENCIES += gettext -endif - ifeq ($(BR2_PACKAGE_PYTHON_READLINE),y) PYTHON_DEPENDENCIES += readline else -- 2.30.2