From f3026e3850a2dda48f4cb17559152e3b3cceaaa1 Mon Sep 17 00:00:00 2001 From: Bernd Kuhls Date: Mon, 6 Oct 2014 21:32:09 +0200 Subject: [PATCH] package/apr-util: add optional dependency to openssl Signed-off-by: Bernd Kuhls Signed-off-by: Thomas Petazzoni --- package/apr-util/apr-util.mk | 7 +++++++ 1 file changed, 7 insertions(+) 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)) -- 2.30.2