summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGustavo Zacarias <gustavo@zacarias.com.ar>2010-07-29 12:15:17 (GMT)
committer Peter Korsgaard <jacmet@sunsite.dk>2010-07-29 12:25:45 (GMT)
commit7bfc9e464cf448f83b06953f1b26a150539b3960 (patch)
tree6e4a4d6529e8eed5771a8182e7d0496682502422
parent0c271d5269675bce9c37747b97885cf5ef16d83a (diff)
downloadbuildroot-7bfc9e464cf448f83b06953f1b26a150539b3960.tar.gz
buildroot-7bfc9e464cf448f83b06953f1b26a150539b3960.tar.bz2
netsnmp: depend on openssl when the package is on to ensure build order
The netsnmp package should depend on openssl when using it. Otherwise netsnmp might get built before openssl and poison the configure cache since it's not a mandatory dependency. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
-rw-r--r--package/netsnmp/netsnmp.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/package/netsnmp/netsnmp.mk b/package/netsnmp/netsnmp.mk
index 8f8bc76..7c9367a 100644
--- a/package/netsnmp/netsnmp.mk
+++ b/package/netsnmp/netsnmp.mk
@@ -28,6 +28,7 @@ endif
# OpenSSL
ifeq ($(BR2_PACKAGE_OPENSSL),y)
+ NETSNMP_DEPENDENCIES += openssl
NETSNMP_CONF_OPT += \
--with-openssl=$(STAGING_DIR)/usr/include/openssl
else