elfutils: revert r35558
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 11 Feb 2013 17:19:37 +0000 (17:19 +0000)
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 11 Feb 2013 17:19:37 +0000 (17:19 +0000)
libdwfl which is a libdw dependency requires argp-standalone at least.

Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/packages@35563 3c298f89-4303-0410-b956-a3cf2f4a3e73

libs/elfutils/Makefile

index 0aa8d77..449e790 100644 (file)
@@ -16,6 +16,8 @@ PKG_MD5SUM:=163a5712b86f6bdfebdf233cc6e2192d
 
 PKG_INSTALL:=1
 
+PKG_BUILD_DEPENDS:=USE_UCLIBC:argp-standalone
+
 include $(INCLUDE_DIR)/package.mk
 include $(INCLUDE_DIR)/nls.mk
 
@@ -42,6 +44,11 @@ ifeq ($(CONFIG_BUILD_NLS),y)
 TARGET_LDFLAGS += "-lintl"
 endif
 
+ifdef CONFIG_USE_UCLIBC
+CONFIGURE_VARS += \
+       LIBS="-largp"
+endif
+
 CONFIGURE_ARGS += \
        --disable-werror