From: Bernd Kuhls Date: Sat, 31 Mar 2018 16:34:58 +0000 (+0200) Subject: package/dovecot: add optional support for libsodium X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=14d43aea0a6a18878416bb4c5aa4d870d8377f5f;p=buildroot.git package/dovecot: add optional support for libsodium Signed-off-by: Bernd Kuhls Signed-off-by: Thomas Petazzoni --- diff --git a/package/dovecot/dovecot.mk b/package/dovecot/dovecot.mk index 8e775be5f7..1a10b30e16 100644 --- a/package/dovecot/dovecot.mk +++ b/package/dovecot/dovecot.mk @@ -57,6 +57,13 @@ else DOVECOT_CONF_OPTS += --without-libcap endif +ifeq ($(BR2_PACKAGE_LIBSODIUM),y) +DOVECOT_CONF_OPTS += --with-sodium +DOVECOT_DEPENDENCIES += libsodium +else +DOVECOT_CONF_OPTS += --without-sodium +endif + ifeq ($(BR2_PACKAGE_DOVECOT_MYSQL),y) DOVECOT_CONF_ENV += MYSQL_CONFIG="$(STAGING_DIR)/usr/bin/mysql_config" DOVECOT_CONF_OPTS += --with-mysql