[systemd-devel] [PATCH] build-sys: gpt-auto-generator depends on HAVE_BLKID

Marcel Holtmann marcel at holtmann.org
Mon Sep 2 11:00:31 PDT 2013


---
 Makefile.am | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/Makefile.am b/Makefile.am
index fd38e82..5654ad3 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1708,6 +1708,7 @@ bin_PROGRAMS += \
 	bootctl
 endif
 
+if HAVE_BLKID
 # ------------------------------------------------------------------------------
 systemgenerator_PROGRAMS +=  \
 	systemd-gpt-auto-generator
@@ -1725,6 +1726,7 @@ systemd_gpt_auto_generator_LDADD = \
 systemd_gpt_auto_generator_CFLAGS = \
 	$(AM_CFLAGS) \
 	$(BLKID_CFLAGS)
+endif
 
 # ------------------------------------------------------------------------------
 systemd_rc_local_generator_SOURCES = \
-- 
1.8.3.1



More information about the systemd-devel mailing list