bind: give path to OpenSSL when OpenSSL is enabled
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thu, 19 May 2011 17:23:29 +0000 (19:23 +0200)
committerPeter Korsgaard <jacmet@sunsite.dk>
Thu, 19 May 2011 18:03:35 +0000 (20:03 +0200)
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>
package/bind/bind.mk

index e3341bdb6989be0556318db49bb71a39eb499580..2df6ae8e33079b9eb580651b2e9bac13a8bf5dbe 100644 (file)
@@ -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