[Buildroot] [PATCH 1/1] bind: give path to OpenSSL when OpenSSL is enabled

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Thu May 19 17:23:29 UTC 2011


bind needs to be specifically told where OpenSSL is, otherwise, the
build fails with:

checking for OpenSSL library... configure: error: OpenSSL was not found in any of /usr /usr/local /usr/local/ssl /usr/pkg /usr/sfw; use --with-openssl=/path
If you don't want OpenSSL, use --without-openssl

Signed-off-by: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
---
 package/bind/bind.mk |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/package/bind/bind.mk b/package/bind/bind.mk
index e3341bd..2df6ae8 100644
--- a/package/bind/bind.mk
+++ b/package/bind/bind.mk
@@ -27,6 +27,7 @@ endif
 
 ifeq ($(BR2_PACKAGE_OPENSSL),y)
 	BIND_DEPENDENCIES += openssl
+	BIND_CONF_OPT += --with-openssl=$(STAGING_DIR)/usr
 else
 	BIND_CONF_OPT += --with-openssl=no
 endif
-- 
1.7.1




More information about the buildroot mailing list