[Buildroot] [git commit] bind: give path to OpenSSL when OpenSSL is enabled

Peter Korsgaard jacmet at sunsite.dk
Thu May 19 18:03:35 UTC 2011


commit: http://git.buildroot.net/buildroot/commit/?id=a02cfbf1f4a82ee6582e2bf7622b2bf105359ea9
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master

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>
Signed-off-by: Peter Korsgaard <jacmet at sunsite.dk>
---
 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.3.4




More information about the buildroot mailing list