From: Peter Korsgaard Date: Wed, 28 Jan 2009 06:32:33 +0000 (-0000) Subject: elf2flt: fix link X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d5664ee9956748f8f166dfa720308f05f0f4a97b;p=buildroot.git elf2flt: fix link Seems like recent binutils has pulled in inflate support, so we need to link with zlib. --- diff --git a/toolchain/elf2flt/elf2flt.mk b/toolchain/elf2flt/elf2flt.mk index 90ac9c704f..30d7e839ad 100644 --- a/toolchain/elf2flt/elf2flt.mk +++ b/toolchain/elf2flt/elf2flt.mk @@ -24,6 +24,7 @@ endif $(ELF2FLT_DIR)/.configured: $(ELF2FLT_DIR)/.patched (cd $(ELF2FLT_DIR); rm -rf config.cache; \ + LDFLAGS=-lz \ $(ELF2FLT_DIR)/configure \ --with-bfd-include-dir=$(BINUTILS_DIR1)/bfd/ \ --with-binutils-include-dir=$(BINUTILS_DIR)/include/ \