summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/build.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/build.h b/src/build.h
index 04ac639c56..50cd79dc7c 100644
--- a/src/build.h
+++ b/src/build.h
@@ -52,6 +52,12 @@
#define _SYSVINIT_FEATURE_ "-SYSVINIT"
#endif
-#define SYSTEMD_FEATURES _PAM_FEATURE_ " " _LIBWRAP_FEATURE_ " " _AUDIT_FEATURE_ " " _SELINUX_FEATURE_ " " _SYSVINIT_FEATURE_
+#ifdef HAVE_LIBCRYPTSETUP
+#define _LIBCRYPTSETUP_FEATURE_ "+LIBCRYPTSETUP"
+#else
+#define _LIBCRYPTSETUP_FEATURE_ "-LIBCRYPTSETUP"
+#endif
+
+#define SYSTEMD_FEATURES _PAM_FEATURE_ " " _LIBWRAP_FEATURE_ " " _AUDIT_FEATURE_ " " _SELINUX_FEATURE_ " " _SYSVINIT_FEATURE_ " " _LIBCRYPTSETUP_FEATURE_
#endif