summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2011-08-09 16:15:22 +0200
committerPeter Korsgaard <jacmet@sunsite.dk>2011-08-09 16:17:16 +0200
commita8273c4272b1b8661a03c7cabdf4c8d710607049 (patch)
tree2dddb1510c1240d254d0555777c97421f5690c68
parentefd5ca7b262f67c5343267eb3c13b517568f8126 (diff)
downloadbuildroot-novena-a8273c4272b1b8661a03c7cabdf4c8d710607049.tar.gz
buildroot-novena-a8273c4272b1b8661a03c7cabdf4c8d710607049.zip
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 <jacmet@sunsite.dk>
-rw-r--r--package/util-linux/util-linux.mk4
1 files changed, 4 insertions, 0 deletions
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
#############################################
#