[packages] binutils: fix linking to libiberty (#9048)
authorJo-Philipp Wich <jow@openwrt.org>
Mon, 21 Mar 2011 06:42:07 +0000 (06:42 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Mon, 21 Mar 2011 06:42:07 +0000 (06:42 +0000)
SVN-Revision: 26254

devel/binutils/Makefile

index b607e79..5925fdd 100644 (file)
@@ -57,6 +57,7 @@ CONFIGURE_ARGS = \
                $(call qstrip,$(CONFIG_EXTRA_BINUTILS_CONFIG_OPTIONS))
 
 TARGET_CFLAGS += $(FPIC)
+TARGET_LDFLAGS := -L$(PKG_BUILD_DIR)/libiberty $(TARGET_LDFLAGS)
 
 define Build/Configure
        $(call Build/Configure/Default)