From 707856d9005a48ee006dfcc7e5424473cf9e7652 Mon Sep 17 00:00:00 2001 From: Nikias Bassen Date: Fri, 1 Jun 2018 19:55:16 +0200 Subject: Add explicit zlib dependency --- configure.ac | 1 + src/Makefile.am | 2 ++ 2 files changed, 3 insertions(+) diff --git a/configure.ac b/configure.ac index 2b31499..006d85d 100644 --- a/configure.ac +++ b/configure.ac @@ -41,6 +41,7 @@ PKG_CHECK_MODULES(libplist, libplist >= $LIBPLIST_VERSION) PKG_CHECK_MODULES(libzip, libzip >= $LIBZIP_VERSION) PKG_CHECK_MODULES(libcurl, libcurl >= $LIBCURL_VERSION) PKG_CHECK_MODULES(openssl, openssl >= $OPENSSL_VERSION) +PKG_CHECK_MODULES(zlib, zlib) GLOBAL_CFLAGS="" AC_LDADD="" diff --git a/src/Makefile.am b/src/Makefile.am index f169708..abbef21 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -5,6 +5,7 @@ AM_CFLAGS = \ $(libimobiledevice_CFLAGS) \ $(libplist_CFLAGS) \ $(libzip_CFLAGS) \ + $(zlib_CFLAGS) \ $(openssl_CFLAGS) \ $(libcurl_CFLAGS) @@ -14,6 +15,7 @@ AM_LDFLAGS =\ $(libimobiledevice_LIBS) \ $(libplist_LIBS) \ $(libzip_LIBS) \ + $(zlib_LIBS) \ $(openssl_LIBS) \ $(libcurl_LIBS) -- cgit v1.1-32-gdbae