From: Bernd Kuhls Date: Mon, 6 Oct 2014 19:32:09 +0000 (+0200) Subject: package/apr-util: add optional dependency to openssl X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f3026e3850a2dda48f4cb17559152e3b3cceaaa1;p=buildroot.git package/apr-util: add optional dependency to openssl Signed-off-by: Bernd Kuhls Signed-off-by: Thomas Petazzoni --- 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))