summaryrefslogtreecommitdiff
path: root/package/quagga/quagga.mk
diff options
context:
space:
mode:
Diffstat (limited to 'package/quagga/quagga.mk')
-rw-r--r--package/quagga/quagga.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/package/quagga/quagga.mk b/package/quagga/quagga.mk
index d2b14440c..a807f0f4a 100644
--- a/package/quagga/quagga.mk
+++ b/package/quagga/quagga.mk
@@ -67,6 +67,10 @@ endif
ifeq ($(BR2_PACKAGE_QUAGGA_SNMP),y)
QUAGGA_CONF_OPT+=--enable-snmp
QUAGGA_DEPENDENCIES+=netsnmp
+# SNMP support tries -lcrypto by default, disable it if we ain't got openssl
+ifneq ($(BR2_PACKAGE_OPENSSL),y)
+QUAGGA_CONF_OPT+=--without-crypto
+endif
else
QUAGGA_CONF_OPT+=--disable-snmp
endif