From: Thomas Petazzoni Date: Tue, 4 Jul 2017 10:34:29 +0000 (+0200) Subject: python: use the new gettext logic X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=bf216e48e1a163c19f8130bbb9792089b0fec544;p=buildroot.git 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 --- 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