summaryrefslogtreecommitdiffstats
path: root/discover/Makefile.am
diff options
context:
space:
mode:
authorSamuel Mendoza-Jonas <sam@mendozajonas.com>2016-04-05 14:46:14 +1000
committerSamuel Mendoza-Jonas <sam@mendozajonas.com>2016-04-05 16:13:06 +1000
commit3b286d116f8fb8438b8ae52669d2c1778b7a370b (patch)
treef3e74e185d16d697bbb5fb10d10160f21bc10166 /discover/Makefile.am
parent8364bca5ca92c24061fe222a61e357af8315d151 (diff)
downloadtalos-petitboot-3b286d116f8fb8438b8ae52669d2c1778b7a370b.tar.gz
talos-petitboot-3b286d116f8fb8438b8ae52669d2c1778b7a370b.zip
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 <sam@mendozajonas.com>
Diffstat (limited to 'discover/Makefile.am')
-rw-r--r--discover/Makefile.am2
1 files changed, 1 insertions, 1 deletions
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) \
OpenPOWER on IntegriCloud