summaryrefslogtreecommitdiffstats
path: root/toolchain/binutils/binutils.mk
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2007-06-02 11:22:17 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2007-06-02 11:22:17 +0000
commitc6e43c9da3b6aa7581352a20c6478436ab17dd6d (patch)
tree98b6ca3ef566de53fc7f7c993fd8985628fb56b1 /toolchain/binutils/binutils.mk
parent7dcbbfbbd8dee79aaa1e5237ed8a09e819eb3491 (diff)
downloadbuildroot-novena-c6e43c9da3b6aa7581352a20c6478436ab17dd6d.tar.gz
buildroot-novena-c6e43c9da3b6aa7581352a20c6478436ab17dd6d.zip
- fixup the extension for the host and start to honor BR2_PREFER_STATIC_LIB
Diffstat (limited to 'toolchain/binutils/binutils.mk')
-rw-r--r--toolchain/binutils/binutils.mk8
1 files changed, 4 insertions, 4 deletions
diff --git a/toolchain/binutils/binutils.mk b/toolchain/binutils/binutils.mk
index 73e70180d..71fa5c6a9 100644
--- a/toolchain/binutils/binutils.mk
+++ b/toolchain/binutils/binutils.mk
@@ -49,11 +49,11 @@ BINUTILS_NO_MPFR:=y
endif
ifndef BINUTILS_NO_MPFR
-BINUTILS_HOST_PREREQ:=$(TOOL_BUILD_DIR)/gmp/lib/libgmp.so \
- $(TOOL_BUILD_DIR)/mpfr/lib/libmpfr.so
+BINUTILS_HOST_PREREQ:=$(TOOL_BUILD_DIR)/gmp/lib/libgmp$(HOST_LIBEXT) \
+ $(TOOL_BUILD_DIR)/mpfr/lib/libmpfr$(HOST_LIBEXT)
-BINUTILS_TARGET_PREREQ:=$(TARGET_DIR)/lib/libgmp.so \
- $(TARGET_DIR)/lib/libmpfr.so
+BINUTILS_TARGET_PREREQ:=$(TARGET_DIR)/lib/libgmp$(LIBTGTEXT) \
+ $(TARGET_DIR)/lib/libmpfr$(LIBTGTEXT)
EXTRA_BINUTILS_CONFIG_OPTIONS+=--with-gmp="$(GMP_HOST_DIR)"
EXTRA_BINUTILS_CONFIG_OPTIONS+=--with-mpfr="$(MPFR_HOST_DIR)"