diff mbox series

fix build of jffs2reader and jffs2dump if zlib or lzo headers are not in default paths

Message ID 2421145.rPmLg7YRcb@devpool35
State New
Delegated to: David Oberhollenzer
Headers show
Series fix build of jffs2reader and jffs2dump if zlib or lzo headers are not in default paths | expand

Commit Message

Rolf Eike Beer May 15, 2020, 1:16 p.m. UTC
From 17f6407f22b8f879e6b788cb4e3a67d856abe02e Mon Sep 17 00:00:00 2001
From: Rolf Eike Beer <eb@emlix.com>
Date: Fri, 15 May 2020 14:56:48 +0200
Subject: [PATCH] fix build of jffs2reader and jffs2dump if zlib or lzo
 headers are not in default paths

Signed-off-by: Rolf Eike Beer <eb@emlix.com>
---
 jffsX-utils/Makemodule.am | 2 ++
 1 file changed, 2 insertions(+)
diff mbox series

Patch

diff --git a/jffsX-utils/Makemodule.am b/jffsX-utils/Makemodule.am
index fb181de..9fd734b 100644
--- a/jffsX-utils/Makemodule.am
+++ b/jffsX-utils/Makemodule.am
@@ -12,9 +12,11 @@  mkfs_jffs2_CPPFLAGS = $(AM_CPPFLAGS) $(ZLIB_CFLAGS) $(LZO_CFLAGS)
 
 jffs2reader_SOURCES = jffsX-utils/jffs2reader.c
 jffs2reader_LDADD = libmtd.a $(ZLIB_LIBS) $(LZO_LIBS)
+jffs2reader_CPPFLAGS = $(AM_CPPFLAGS) $(ZLIB_CFLAGS) $(LZO_CFLAGS)
 
 jffs2dump_SOURCES = jffsX-utils/jffs2dump.c
 jffs2dump_LDADD = libmtd.a $(ZLIB_LIBS) $(LZO_LIBS)
+jffs2dump_CPPFLAGS = $(AM_CPPFLAGS) $(ZLIB_CFLAGS) $(LZO_CFLAGS)
 
 sumtool_SOURCES = jffsX-utils/sumtool.c
 sumtool_LDADD = libmtd.a