From: Jo-Philipp Wich Date: Mon, 21 Mar 2011 06:42:07 +0000 (+0000) Subject: binutils: fix linking to libiberty (#9048) X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=1a7165f50e42d2fdac928e7dad9dc6eebea81a41;p=openwrt%2Fsvn-archive%2Fpackages.git binutils: fix linking to libiberty (#9048) SVN-Revision: 26254 --- 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)