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 --- lib/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/Makefile.am') diff --git a/lib/Makefile.am b/lib/Makefile.am index a3ae943..09bc1aa 100644 --- a/lib/Makefile.am +++ b/lib/Makefile.am @@ -61,7 +61,7 @@ lib_libpbcore_la_CPPFLAGS += \ lib_libpbcore_la_LDFLAGS = \ $(AM_LDFLAGS) \ - -l:libflash.so + $(LIBFLASH_LIBS) lib_libpbcore_la_SOURCES += \ lib/flash/flash.c -- cgit v1.2.1