From ec38f4fa90d65362002a901b2d74be09fc6b128c Mon Sep 17 00:00:00 2001 From: David Oberhollenzer Date: Thu, 17 Sep 2020 13:07:53 +0200 Subject: Fix: add missing compiler/linker flags If tar2sqfs and sqfs2tar want to use comperssion via libfstream, they need to link against the compressor libraries. Also, libfstream may need the apropriate cflags to access the headers on some platforms. Signed-off-by: David Oberhollenzer --- lib/fstream/Makemodule.am | 1 + 1 file changed, 1 insertion(+) (limited to 'lib') diff --git a/lib/fstream/Makemodule.am b/lib/fstream/Makemodule.am index 1834cb8..0c24c6f 100644 --- a/lib/fstream/Makemodule.am +++ b/lib/fstream/Makemodule.am @@ -7,6 +7,7 @@ libfstream_a_SOURCES += lib/fstream/compress/ostream_compressor.c libfstream_a_SOURCES += lib/fstream/uncompress/istream_compressor.c libfstream_a_SOURCES += lib/fstream/uncompress/autodetect.c libfstream_a_CFLAGS = $(AM_CFLAGS) $(ZLIB_CFLAGS) $(XZ_CFLAGS) +libfstream_a_CFLAGS += $(ZSTD_CFLAGS) $(BZIP2_CFLAGS) libfstream_a_CPPFLAGS = $(AM_CPPFLAGS) if WINDOWS -- cgit v1.2.3