@@ -21,7 +21,7 @@ config BR2_PACKAGE_SNMPPP_LOGGING
config BR2_PACKAGE_SNMPPP_SNMPV3
bool "enable SNMPv3"
default y
- select BR2_PACKAGE_OPENSSL
+ select BR2_PACKAGE_OPENSSL if !BR2_PACKAGE_LIBRESSL
help
Enable optional support for SNMP++. This selects OpenSSL.
@@ -15,7 +15,12 @@ SNMPPP_LICENSE_FILES = src/v3.cpp
ifeq ($(BR2_PACKAGE_SNMPPP_SNMPV3),y)
SNMPPP_CONF_OPTS += --enable-snmpv3
+ifeq ($(BR2_PACKAGE_OPENSSL),y)
SNMPPP_DEPENDENCIES += openssl
+endif
+ifeq ($(BR2_PACKAGE_LIBRESSL),y)
+SNMPPP_DEPENDENCIES += libressl
+endif
else
SNMPPP_CONF_OPTS += --disable-snmpv3
endif
Signed-off-by: Adam Duskett <aduskett@gmail.com> --- package/snmppp/Config.in | 2 +- package/snmppp/snmppp.mk | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-)