aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Bernd Kuhls <bernd.kuhls@t-online.de>2014-10-06 21:32:09 +0200
committerGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2014-10-26 22:52:41 +0100
commitf3026e3850a2dda48f4cb17559152e3b3cceaaa1 (patch)
treeb4698acfd08d500847cea5fca2920410f87b4b9e
parent04fa0566a30b8191506b8e36a26dab3f484d10ad (diff)
downloadbuildroot-f3026e3850a2dda48f4cb17559152e3b3cceaaa1.tar.gz
buildroot-f3026e3850a2dda48f4cb17559152e3b3cceaaa1.tar.bz2
package/apr-util: add optional dependency to openssl
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-rw-r--r--package/apr-util/apr-util.mk7
1 files changed, 7 insertions, 0 deletions
diff --git a/package/apr-util/apr-util.mk b/package/apr-util/apr-util.mk
index fc515a3415..3b0a71beb9 100644
--- a/package/apr-util/apr-util.mk
+++ b/package/apr-util/apr-util.mk
@@ -46,4 +46,11 @@ else
APR_UTIL_CONF_OPTS += --without-sqlite3
endif
+ifeq ($(BR2_PACKAGE_OPENSSL),y)
+APR_UTIL_CONF_OPTS += --with-crypto --with-openssl="$(STAGING_DIR)/usr"
+APR_UTIL_DEPENDENCIES += openssl
+else
+APR_UTIL_CONF_OPTS += --without-crypto
+endif
+
$(eval $(autotools-package))