summaryrefslogtreecommitdiffstats
path: root/src/Makefile.am
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2025-03-20 15:10:16 +0100
committerGravatar Nikias Bassen2025-03-20 15:10:16 +0100
commit2ee5021f36a26f7344b63d3321cda78899edc319 (patch)
treea63c723d0db8513144b505e5e52c3f2aa1f7d53e /src/Makefile.am
parentb05d50cf41900ea3cf8606d018450a67bdbb4a47 (diff)
downloadidevicerestore-2ee5021f36a26f7344b63d3321cda78899edc319.tar.gz
idevicerestore-2ee5021f36a26f7344b63d3321cda78899edc319.tar.bz2
Allow building without support for limera1n
Use --without-limera1n at configure time to disable this feature.
Diffstat (limited to 'src/Makefile.am')
-rw-r--r--src/Makefile.am5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 80f02f2..a717b45 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -44,10 +44,11 @@ idevicerestore_SOURCES = \
asr.c asr.h \
fdr.c fdr.h \
ace3.c ace3.h \
- limera1n_payload.h \
- limera1n.c limera1n.h \
download.c download.h \
locking.c locking.h
+if HAVE_LIMERA1N
+idevicerestore_SOURCES += limera1n_payload.h limera1n.c limera1n.h
+endif
idevicerestore_CFLAGS = $(AM_CFLAGS)
idevicerestore_LDFLAGS = $(AM_LDFLAGS)
idevicerestore_LDADD = $(AM_LDADD)