This commit is contained in:
@@ -31,12 +31,17 @@ ifeq ($(BR2_PACKAGE_LIBSODIUM),y)
|
||||
PURE_FTPD_DEPENDENCIES += libsodium
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_OPENLDAP),y)
|
||||
PURE_FTPD_CONF_OPTS += --with-ldap
|
||||
PURE_FTPD_DEPENDENCIES += openldap
|
||||
else
|
||||
PURE_FTPD_CONF_OPTS += --without-ldap
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_OPENSSL),y)
|
||||
PURE_FTPD_CONF_OPTS += --with-tls
|
||||
PURE_FTPD_DEPENDENCIES += openssl
|
||||
ifeq ($(BR2_STATIC_LIBS),y)
|
||||
PURE_FTPD_CONF_ENV += LIBS='-lssl -lcrypto -lz'
|
||||
endif
|
||||
PURE_FTPD_DEPENDENCIES += host-pkgconf openssl
|
||||
PURE_FTPD_CONF_ENV += LIBS=`$(PKG_CONFIG_HOST_BINARY) --libs openssl`
|
||||
else
|
||||
PURE_FTPD_CONF_OPTS += --without-tls
|
||||
endif
|
||||
|
||||
Reference in New Issue
Block a user