summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/fstream/Makemodule.am4
1 files changed, 4 insertions, 0 deletions
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