summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2023-09-14 01:48:51 +0200
committerGravatar Nikias Bassen2023-09-14 01:48:51 +0200
commitcc9c68e298cadab4b5dfbb32f36fe71b2daf47e0 (patch)
treed4a63c4e70b309de69de63c297a3e3056fe03cda
parent95466549006709bf37a751091ae23e989085810c (diff)
downloadidevicerestore-cc9c68e298cadab4b5dfbb32f36fe71b2daf47e0.tar.gz
idevicerestore-cc9c68e298cadab4b5dfbb32f36fe71b2daf47e0.tar.bz2
autoconf: Link against libusbmuxd too
-rw-r--r--configure.ac3
-rw-r--r--src/Makefile.am2
2 files changed, 5 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index cadd48e..572e280 100644
--- a/configure.ac
+++ b/configure.ac
@@ -17,6 +17,7 @@ fi
# Minimum package versions
LIBIRECOVERY_VERSION=1.0.1
LIBIMOBILEDEVICE_VERSION=1.3.0
+LIBUSBMUXD_VERSION=2.0.2
LIBPLIST_VERSION=2.3.0
LIMD_GLUE_VERSION=1.0.0
LIBZIP_VERSION=1.0
@@ -25,6 +26,7 @@ OPENSSL_VERSION=0.9.8
AC_SUBST(LIBIRECOVERY_VERSION)
AC_SUBST(LIBIMOBILEDEVICE_VERSION)
+AC_SUBST(LIBUSBMUXD_VERSION)
AC_SUBST(LIBPLIST_VERSION)
AC_SUBST(LIMD_GLUE_VERSION)
AC_SUBST(LIBZIP_VERSION)
@@ -39,6 +41,7 @@ LT_INIT
# Checks for libraries.
PKG_CHECK_MODULES(libirecovery, libirecovery-1.0 >= $LIBIRECOVERY_VERSION)
PKG_CHECK_MODULES(libimobiledevice, libimobiledevice-1.0 >= $LIBIMOBILEDEVICE_VERSION)
+PKG_CHECK_MODULES(libusbmuxd, libusbmuxd-2.0 >= $LIBUSBMUXD_VERSION)
PKG_CHECK_MODULES(libplist, libplist-2.0 >= $LIBPLIST_VERSION)
PKG_CHECK_MODULES(limd_glue, libimobiledevice-glue-1.0 >= $LIMD_GLUE_VERSION)
PKG_CHECK_MODULES(libzip, libzip >= $LIBZIP_VERSION)
diff --git a/src/Makefile.am b/src/Makefile.am
index a89a9c6..019424b 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -3,6 +3,7 @@ AM_CFLAGS = \
$(LFS_CFLAGS) \
$(libirecovery_CFLAGS) \
$(libimobiledevice_CFLAGS) \
+ $(libusbmuxd_CFLAGS) \
$(libplist_CFLAGS) \
$(limd_glue_CFLAGS) \
$(libzip_CFLAGS) \
@@ -14,6 +15,7 @@ AM_LDFLAGS = \
$(AC_LDFLAGS) \
$(libirecovery_LIBS) \
$(libimobiledevice_LIBS) \
+ $(libusbmuxd_LIBS) \
$(libplist_LIBS) \
$(limd_glue_LIBS) \
$(libzip_LIBS) \