From: Fabrice Fontaine Date: Fri, 12 Apr 2019 20:59:30 +0000 (+0200) Subject: package/pure-ftpd: add optional mysql dependency X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f5c906c5985879a5c5a3a8f99c243205ec853f41;p=buildroot.git package/pure-ftpd: add optional mysql dependency Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- diff --git a/package/pure-ftpd/pure-ftpd.mk b/package/pure-ftpd/pure-ftpd.mk index a9268b4446..93ad57c3f3 100644 --- a/package/pure-ftpd/pure-ftpd.mk +++ b/package/pure-ftpd/pure-ftpd.mk @@ -30,6 +30,13 @@ ifeq ($(BR2_PACKAGE_LIBSODIUM),y) PURE_FTPD_DEPENDENCIES += libsodium endif +ifeq ($(BR2_PACKAGE_MYSQL),y) +PURE_FTPD_CONF_OPTS += --with-mysql=$(STAGING_DIR)/usr +PURE_FTPD_DEPENDENCIES += mysql +else +PURE_FTPD_CONF_OPTS += --without-mysql +endif + ifeq ($(BR2_PACKAGE_OPENLDAP),y) PURE_FTPD_CONF_OPTS += --with-ldap PURE_FTPD_DEPENDENCIES += openldap