diff options
author | Josh Boyer <jwboyer@gmail.com> | 2007-07-23 09:15:29 -0500 |
---|---|---|
committer | Josh Boyer <jwboyer@gmail.com> | 2007-07-23 09:15:29 -0500 |
commit | 9845d92440bd87739c89edd000fd6e0c47fab185 (patch) | |
tree | 06a91971e49dbcbd51854b2f9858a41e0837f993 | |
parent | 826c6adca21edd413ea32126be25ecf22cc13417 (diff) |
Use lzo2 libraries
Switch to using the more common lzo2 libraries for LZO compression. They
should still work with the lzo1x interfaces.
Signed-off-by: Josh Boyer <jwboyer@gmail.com>
-rw-r--r-- | Makefile | 2 | ||||
-rw-r--r-- | compr_lzo.c | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -60,7 +60,7 @@ $(BUILDDIR)/mkfs.jffs2: $(BUILDDIR)/crc32.o \ $(BUILDDIR)/compr_zlib.o \ $(BUILDDIR)/compr_lzo.o \ $(BUILDDIR)/compr.o - $(CC) $(LDFLAGS) -o $@ $^ -lz -llzo + $(CC) $(LDFLAGS) -o $@ $^ -lz -llzo2 $(BUILDDIR)/flash_eraseall: $(BUILDDIR)/crc32.o $(BUILDDIR)/flash_eraseall.o $(CC) $(LDFLAGS) -o $@ $^ diff --git a/compr_lzo.c b/compr_lzo.c index ef3b413..c15fd32 100644 --- a/compr_lzo.c +++ b/compr_lzo.c @@ -26,7 +26,7 @@ #include <string.h> #include <asm/types.h> #include <linux/jffs2.h> -#include <lzo1x.h> +#include <lzo/lzo1x.h> #include "compr.h" extern int page_size; |