Browse Source

bind: give path to OpenSSL when OpenSSL is enabled

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@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Thomas Petazzoni 14 years ago
parent
commit
a02cfbf1f4
1 changed files with 1 additions and 0 deletions
  1. 1 0
      package/bind/bind.mk

+ 1 - 0
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