From a026990ad119b247fd01db1e32c6eaf23ecfcd6f Mon Sep 17 00:00:00 2001 From: David Oberhollenzer Date: Sat, 20 Mar 2021 17:36:59 +0100 Subject: Fix: add missing include path to libfstream if using builtin zlib Signed-off-by: David Oberhollenzer --- lib/fstream/Makemodule.am | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/fstream/Makemodule.am b/lib/fstream/Makemodule.am index ad5f426..bb2493c 100644 --- a/lib/fstream/Makemodule.am +++ b/lib/fstream/Makemodule.am @@ -28,6 +28,10 @@ if WITH_GZIP libfstream_a_SOURCES += lib/fstream/compress/gzip.c libfstream_a_SOURCES += lib/fstream/uncompress/gzip.c libfstream_a_CPPFLAGS += -DWITH_GZIP + +if WITH_OWN_ZLIB +libfstream_a_CPPFLAGS += -I$(top_srcdir)/lib/zlib +endif endif if WITH_ZSTD -- cgit v1.2.3