elfutils: fix build with CONFIG_NLS_FULL (#12740)
authorFlorian Fainelli <[email protected]>
Tue, 15 Jan 2013 10:15:44 +0000 (10:15 +0000)
committerFlorian Fainelli <[email protected]>
Tue, 15 Jan 2013 10:15:44 +0000 (10:15 +0000)
Thanks to mva for providing logs.

Signed-off-by: Florian Fainelli <[email protected]>
SVN-Revision: 35166

libs/elfutils/Makefile

index 7dcc2c7a76fa69d48d320339089d73969058ee24..4f2ffa5fb47afc3a5d364631828cb326468cf6d5 100644 (file)
@@ -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"