From: Fabrice Fontaine Date: Mon, 20 Apr 2020 20:16:43 +0000 (+0200) Subject: package/mc: fix build with NLS X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=373dc95c4905594a18127621205e00eaf9e11550;p=buildroot.git package/mc: fix build with NLS gettext is an optional dependency since version 4.8.24 and https://github.com/MidnightCommander/mc/commit/f30e6ff283f4bc86177e4360de94dad794678395 Fixes: - http://autobuild.buildroot.org/results/0e72b0b5b7d7009bd5ad5f15917e94c86e99131b Signed-off-by: Fabrice Fontaine Signed-off-by: Yann E. MORIN --- diff --git a/package/mc/mc.mk b/package/mc/mc.mk index f83905d89b..4e76b618d8 100644 --- a/package/mc/mc.mk +++ b/package/mc/mc.mk @@ -9,7 +9,8 @@ MC_SOURCE = mc-$(MC_VERSION).tar.xz MC_SITE = http://ftp.midnight-commander.org MC_LICENSE = GPL-3.0+ MC_LICENSE_FILES = COPYING -MC_DEPENDENCIES = libglib2 host-pkgconf +MC_DEPENDENCIES = libglib2 host-pkgconf $(TARGET_NLS_DEPENDENCIES) +MC_CONF_ENV = LIBS=$(TARGET_NLS_LIBS) ifeq ($(BR2_PACKAGE_GPM),y) MC_CONF_OPTS += --with-gpm-mouse