summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile2
-rw-r--r--compr_lzo.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index d3d9c15..88b666a 100644
--- a/Makefile
+++ b/Makefile
@@ -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;