summaryrefslogtreecommitdiff
path: root/lib/Makemodule.am
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Makemodule.am')
-rw-r--r--lib/Makemodule.am7
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/Makemodule.am b/lib/Makemodule.am
index 3c206d6..6301435 100644
--- a/lib/Makemodule.am
+++ b/lib/Makemodule.am
@@ -47,8 +47,10 @@ libutil_a_SOURCES += lib/util/read_data.c include/util.h
libutil_a_SOURCES += lib/util/print_version.c lib/util/mkdir_p.c
libutil_a_SOURCES += lib/util/str_table.c include/str_table.h
libutil_a_SOURCES += lib/util/dirstack.c lib/util/padd_file.c
-libutil_a_SOURCES += lib/util/read_data_at.c lib/util/crc32.c
+libutil_a_SOURCES += lib/util/read_data_at.c
libutil_a_SOURCES += lib/util/source_date_epoch.c
+libutil_a_CFLAGS = $(AM_CFLAGS)
+libutil_a_CPPFLAGS = $(AM_CPPFLAGS)
if HAVE_PTHREAD
libcompress_a_SOURCES += lib/comp/block_processor_parallel.c
@@ -62,6 +64,9 @@ libcompress_a_SOURCES += lib/comp/gzip.c
libcompress_a_CFLAGS += $(ZLIB_CFLAGS)
libcompress_a_CPPFLAGS += -DWITH_GZIP
+
+libutil_a_CFLAGS += $(ZLIB_CFLAGS)
+libutil_a_CPPFLAGS += -DWITH_GZIP
endif
if WITH_XZ