elf2flt: fix link
authorPeter Korsgaard <jacmet@sunsite.dk>
Wed, 28 Jan 2009 06:32:33 +0000 (06:32 -0000)
committerPeter Korsgaard <jacmet@sunsite.dk>
Wed, 28 Jan 2009 06:32:33 +0000 (06:32 -0000)
Seems like recent binutils has pulled in inflate support, so we need to
link with zlib.

toolchain/elf2flt/elf2flt.mk

index 90ac9c704f54f7964821ad31ba70353751630d12..30d7e839ad481678a7d9cef33751131f8a2c331d 100644 (file)
@@ -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/ \