From 3ddf22d61067f1338c72eae236b9eebaa4565132 Mon Sep 17 00:00:00 2001 From: jow Date: Mon, 21 Mar 2011 06:42:07 +0000 Subject: [PATCH] [packages] binutils: fix linking to libiberty (#9048) git-svn-id: svn://svn.openwrt.org/openwrt/packages@26254 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- devel/binutils/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/devel/binutils/Makefile b/devel/binutils/Makefile index b607e7938..5925fdd52 100644 --- a/devel/binutils/Makefile +++ b/devel/binutils/Makefile @@ -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)