[systemd-devel] [PATCH 1/1] build-sys: build gummiboot executable only if HAVE_BLKID
Kang Hu
hukangustc at gmail.com
Wed May 14 02:10:55 PDT 2014
src/setup/setup.c depends on blkid library. so build gummiboot
binary only if blkid library is available.
Signed-off-by: Kang Hu <hukangustc at gmail.com>
---
Makefile.am | 2 ++
1 file changed, 2 insertions(+)
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
--
1.8.5.3
More information about the systemd-devel
mailing list