mirror of
https://github.com/ostreedev/ostree.git
synced 2024-12-22 17:35:55 +03:00
Add explicit zlib dependency
Needed for CRC32 computations.
This commit is contained in:
parent
3b3708c312
commit
12c8ef1425
@ -107,9 +107,9 @@ libostree_1_la_SOURCES += \
|
||||
endif
|
||||
|
||||
libostree_1_la_CFLAGS = $(AM_CFLAGS) -I$(srcdir)/libglnx -I$(srcdir)/src/libotutil -I$(srcdir)/src/libostree \
|
||||
$(OT_INTERNAL_GIO_UNIX_CFLAGS) $(OT_DEP_LZMA_CFLAGS)
|
||||
$(OT_INTERNAL_GIO_UNIX_CFLAGS) $(OT_DEP_LZMA_CFLAGS) $(OT_DEP_ZLIB_CFLAGS)
|
||||
libostree_1_la_LDFLAGS = -version-number 1:0:0 -Bsymbolic-functions -export-symbols-regex '^ostree_'
|
||||
libostree_1_la_LIBADD = libotutil.la libglnx.la libostree-kernel-args.la $(OT_INTERNAL_GIO_UNIX_LIBS) $(OT_DEP_LZMA_LIBS)
|
||||
libostree_1_la_LIBADD = libotutil.la libglnx.la libostree-kernel-args.la $(OT_INTERNAL_GIO_UNIX_LIBS) $(OT_DEP_LZMA_LIBS) $(OT_DEP_ZLIB_LIBS)
|
||||
|
||||
if USE_LIBARCHIVE
|
||||
libostree_1_la_CFLAGS += $(OT_DEP_LIBARCHIVE_CFLAGS)
|
||||
|
@ -49,6 +49,9 @@ PKG_CHECK_MODULES(OT_DEP_GIO_UNIX, $GIO_DEPENDENCY)
|
||||
dnl 5.1.0 is an arbitrary version here
|
||||
PKG_CHECK_MODULES(OT_DEP_LZMA, liblzma >= 5.0.5)
|
||||
|
||||
dnl Needed for rollsum
|
||||
PKG_CHECK_MODULES(OT_DEP_ZLIB, zlib)
|
||||
|
||||
dnl We're not actually linking to this, just using the header
|
||||
PKG_CHECK_MODULES(OT_DEP_E2P, e2p)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user