[Buildroot] [git commit] util-linux: fix libintl linking if present
Peter Korsgaard
jacmet at sunsite.dk
Tue Aug 9 14:17:16 UTC 2011
commit: http://git.buildroot.net/buildroot/commit/?id=a8273c4272b1b8661a03c7cabdf4c8d710607049
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master
The configure script correctly detects presence of libintl, but it forgets
to link against it, breaking the build.
Signed-off-by: Peter Korsgaard <jacmet at sunsite.dk>
---
package/util-linux/util-linux.mk | 4 ++++
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
#############################################
#
--
1.7.3.4
More information about the buildroot
mailing list