From d5664ee9956748f8f166dfa720308f05f0f4a97b Mon Sep 17 00:00:00 2001 From: Peter Korsgaard Date: Wed, 28 Jan 2009 06:32:33 +0000 Subject: [PATCH] elf2flt: fix link Seems like recent binutils has pulled in inflate support, so we need to link with zlib. --- toolchain/elf2flt/elf2flt.mk | 1 + 1 file changed, 1 insertion(+) 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/ \ -- 2.30.2