summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2011-08-09 14:15:22 (GMT)
committer Peter Korsgaard <jacmet@sunsite.dk>2011-08-09 14:17:16 (GMT)
commita8273c4272b1b8661a03c7cabdf4c8d710607049 (patch)
tree2dddb1510c1240d254d0555777c97421f5690c68
parentefd5ca7b262f67c5343267eb3c13b517568f8126 (diff)
downloadbuildroot-a8273c4272b1b8661a03c7cabdf4c8d710607049.tar.gz
buildroot-a8273c4272b1b8661a03c7cabdf4c8d710607049.tar.bz2
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 d34759b..dd6ee5c 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
#############################################
#