summaryrefslogtreecommitdiff
path: root/lib/fstream/Makemodule.am
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2021-03-20 17:36:59 +0100
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2021-03-20 17:46:14 +0100
commita026990ad119b247fd01db1e32c6eaf23ecfcd6f (patch)
tree6bdd823c04dbbecc8dd6d5452595e4c99108f398 /lib/fstream/Makemodule.am
parente678bd4b4289e536e998057bf9a9cf415f21b74c (diff)
Fix: add missing include path to libfstream if using builtin zlib
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'lib/fstream/Makemodule.am')
-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