summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorGravatar Daniel VanBritsom2023-10-06 21:10:09 -0400
committerGravatar Nikias Bassen2023-11-03 18:34:27 +0100
commitf2a166b01445fe412b5bff1b71256aebd62d1fcb (patch)
treeeff09c449572a4302a13d816e7ad9cb5b5112ca4 /tools
parent74499fe02f43a7b289a7cc62932d215899b20ad2 (diff)
downloadlibirecovery-f2a166b01445fe412b5bff1b71256aebd62d1fcb.tar.gz
libirecovery-f2a166b01445fe412b5bff1b71256aebd62d1fcb.tar.bz2
Allow building --without-tools
Diffstat (limited to 'tools')
-rw-r--r--tools/Makefile.am2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/Makefile.am b/tools/Makefile.am
index 03728b2..ebb085c 100644
--- a/tools/Makefile.am
+++ b/tools/Makefile.am
@@ -1,3 +1,4 @@
+if BUILD_TOOLS
AM_CPPFLAGS = -I$(top_srcdir)/include
AM_CFLAGS = $(GLOBAL_CFLAGS) $(libusb_CFLAGS)
@@ -9,3 +10,4 @@ irecovery_SOURCES = irecovery.c
irecovery_CFLAGS = $(AM_CFLAGS)
irecovery_LDFLAGS = $(AM_LDFLAGS)
irecovery_LDADD = $(top_builddir)/src/libirecovery-1.0.la
+endif