summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKang Hu <hukangustc@gmail.com>2014-05-14 17:10:55 +0800
committerKay Sievers <kay@vrfy.org>2014-05-15 23:47:18 +0200
commiteb3daf2ca4cb1657cf1f780957485d690a552bf6 (patch)
tree84c8011ea6f88cfad175a5b865547bd078ddd62b
parentcc43a65e274ca0879f4ca7ec22dc1933c660694d (diff)
build-sys: build gummiboot executable only if HAVE_BLKID
src/setup/setup.c depends on blkid library. so build gummiboot binary only if blkid library is available.
-rw-r--r--Makefile.am2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index d004bdd..bf6ef17 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -34,6 +34,7 @@ EXTRA_DIST = autogen.sh README LICENSE
CLEANFILES =
# ------------------------------------------------------------------------------
+if HAVE_BLKID
bin_PROGRAMS = gummiboot
gummiboot_SOURCES = \
@@ -52,6 +53,7 @@ gummiboot_CFLAGS = \
gummiboot_LDADD = \
$(BLKID_LIBS)
+endif
if ENABLE_MANPAGES
%.8: %.xml