From 571e9645410482e74714e5089048682e05b3d3f8 Mon Sep 17 00:00:00 2001 From: Nikias Bassen Date: Tue, 2 Jun 2020 03:23:07 +0200 Subject: Make OpenSSL dependency optional (used for SHA1) Can be disabled with --without-openssl, otherwise auto-detected. --- src/Makefile.am | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/Makefile.am') diff --git a/src/Makefile.am b/src/Makefile.am index a27f961..1dfbc86 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -24,6 +24,9 @@ AM_LDADD = $(AC_LDADD) bin_PROGRAMS = idevicerestore idevicerestore_SOURCES = idevicerestore.c common.c tss.c fls.c mbn.c img3.c img4.c ftab.c ipsw.c normal.c dfu.c recovery.c restore.c asr.c fdr.c limera1n.c download.c locking.c socket.c thread.c jsmn.c json_plist.c +if USE_INTERNAL_SHA1 + idevicerestore_SOURCES += sha1.c +endif idevicerestore_CFLAGS = $(AM_CFLAGS) idevicerestore_LDFLAGS = $(AM_LDFLAGS) idevicerestore_LDADD = $(AM_LDADD) -- cgit v1.1-32-gdbae