From a8273c4272b1b8661a03c7cabdf4c8d710607049 Mon Sep 17 00:00:00 2001 From: Peter Korsgaard Date: Tue, 9 Aug 2011 16:15:22 +0200 Subject: 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 d34759bfd..dd6ee5c69 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 ############################################# # -- cgit v1.2.3