summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2018-06-01 19:55:16 +0200
committerGravatar Nikias Bassen2018-06-01 19:55:16 +0200
commit707856d9005a48ee006dfcc7e5424473cf9e7652 (patch)
treeb2d7590b2c3e3613ee7b7e866b78bd33ffb0c7e7
parent5e054e6294fc09e989a98b2336d15c9c9a0baa4c (diff)
downloadidevicerestore-707856d9005a48ee006dfcc7e5424473cf9e7652.tar.gz
idevicerestore-707856d9005a48ee006dfcc7e5424473cf9e7652.tar.bz2
Add explicit zlib dependency
-rw-r--r--configure.ac1
-rw-r--r--src/Makefile.am2
2 files changed, 3 insertions, 0 deletions
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)