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>
This commit is contained in:
Gustavo Zacarias 2010-07-29 09:15:17 -03:00 committed by Peter Korsgaard
parent 0c271d5269
commit 7bfc9e464c
1 changed files with 1 additions and 0 deletions

View File

@ -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