From 9b4b891ca27dbfed01b99b51421b0d48aaedfea8 Mon Sep 17 00:00:00 2001 From: florian Date: Tue, 15 Jan 2013 10:15:44 +0000 Subject: [PATCH] elfutils: fix build with CONFIG_NLS_FULL (#12740) Thanks to mva for providing logs. Signed-off-by: Florian Fainelli git-svn-id: svn://svn.openwrt.org/openwrt/packages@35166 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- libs/elfutils/Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libs/elfutils/Makefile b/libs/elfutils/Makefile index 7dcc2c7a7..4f2ffa5fb 100644 --- a/libs/elfutils/Makefile +++ b/libs/elfutils/Makefile @@ -38,6 +38,10 @@ define Package/libelf1 TITLE+= (libelf) endef +ifeq ($(CONFIG_BUILD_NLS),y) +TARGET_LDFLAGS += "-lintl" +endif + ifdef CONFIG_USE_UCLIBC CONFIGURE_VARS += \ LIBS="-largp"