summaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorGustavo Zacarias <gustavo@zacarias.com.ar>2011-02-21 16:25:06 -0300
committerPeter Korsgaard <jacmet@sunsite.dk>2011-02-24 09:14:29 +0100
commitfd2bd9e3df276301f867b05bd9f47ab3ab7b4ef4 (patch)
tree0da29fb1cb7be3c9e666d0bd069bd0efb715df6d /package
parenta85971a68b6661327e21f44ce50925b220997dbb (diff)
downloadbuildroot-novena-fd2bd9e3df276301f867b05bd9f47ab3ab7b4ef4.tar.gz
buildroot-novena-fd2bd9e3df276301f867b05bd9f47ab3ab7b4ef4.zip
quagga: fix build with snmp support
Closes #3277 Quagga's snmp support tries to link with libcrypto from openssl by default. That's a bad no no since snmp might have ssl support disabled and openssl won't be around. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package')
-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