diff options
-rw-r--r-- | configure.ac | 3 | ||||
-rw-r--r-- | libirecovery.pc.in | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac index bc8ba3d..f767ed9 100644 --- a/configure.ac +++ b/configure.ac @@ -21,7 +21,6 @@ dnl Minimum package versions LIBUSB_VERSION=1.0.3 AC_SUBST(LIBIRECOVERY_SO_VERSION) -AC_SUBST(LIBUSB_VERSION) # Checks for programs. AC_PROG_CC @@ -75,6 +74,8 @@ AS_IF([test "x$with_iokit" = "xyes" && test "x$have_iokit" = "xyes"] , [ [ PKG_CHECK_MODULES(libusb, libusb-1.0 >= $LIBUSB_VERSION) USB_BACKEND="libusb `$PKG_CONFIG --modversion libusb-1.0`" + LIBUSB_REQUIRED="libusb >= $LIBUSB_VERSION" + AC_SUBST(LIBUSB_REQUIRED) ] ) diff --git a/libirecovery.pc.in b/libirecovery.pc.in index 39cc29b..11ac86a 100644 --- a/libirecovery.pc.in +++ b/libirecovery.pc.in @@ -8,4 +8,4 @@ Description: A library to communicate with iBoot/iBSS on iOS devices via USB Version: @PACKAGE_VERSION@ Libs: -L${libdir} -lirecovery Cflags: -I${includedir} -Requires.private: libusb-1.0 >= @LIBUSB_VERSION@
\ No newline at end of file +Requires.private: @LIBUSB_REQUIRED@ |