From a8273c4272b1b8661a03c7cabdf4c8d710607049 Mon Sep 17 00:00:00 2001 From: Peter Korsgaard Date: Tue, 9 Aug 2011 16:15:22 +0200 Subject: [PATCH] util-linux: fix libintl linking if present The configure script correctly detects presence of libintl, but it forgets to link against it, breaking the build. Signed-off-by: Peter Korsgaard --- package/util-linux/util-linux.mk | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/package/util-linux/util-linux.mk b/package/util-linux/util-linux.mk index d34759bfd6..dd6ee5c697 100644 --- a/package/util-linux/util-linux.mk +++ b/package/util-linux/util-linux.mk @@ -25,6 +25,10 @@ else UTIL_LINUX_CONF_OPT += --without-ncurses endif +ifeq ($(BR2_PACKAGE_LIBINTL),y) +UTIL_LINUX_DEPENDENCIES += libintl +UTIL_LINUX_MAKE_OPT += LIBS=-lintl +endif ############################################# # -- 2.30.2