From 3b286d116f8fb8438b8ae52669d2c1778b7a370b Mon Sep 17 00:00:00 2001 From: Samuel Mendoza-Jonas Date: Tue, 5 Apr 2016 14:46:14 +1000 Subject: configure.ac: Add checks for libflash and libdevmapper libdevmapper is a hard dependency since snapshots were introduced, so add an unconditional configure-time check for it. Also add a check for libflash library and headers if --enable-mtd is set. Signed-off-by: Samuel Mendoza-Jonas --- discover/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'discover') diff --git a/discover/Makefile.am b/discover/Makefile.am index f55f1cd..899c9a6 100644 --- a/discover/Makefile.am +++ b/discover/Makefile.am @@ -62,7 +62,7 @@ discover_pb_discover_LDADD = \ discover_pb_discover_LDFLAGS = \ $(AM_LDFLAGS) \ - -ldevmapper + $(DEVMAPPER_LIBS) discover_pb_discover_CPPFLAGS = \ $(AM_CPPFLAGS) \ -- cgit v1.2.1