From: Gustavo Zacarias Date: Thu, 29 Jul 2010 12:15:17 +0000 (-0300) Subject: netsnmp: depend on openssl when the package is on to ensure build order X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7bfc9e464cf448f83b06953f1b26a150539b3960;p=buildroot.git 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 Signed-off-by: Peter Korsgaard --- diff --git a/package/netsnmp/netsnmp.mk b/package/netsnmp/netsnmp.mk index 8f8bc76694..7c9367a087 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