summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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))
OpenPOWER on IntegriCloud