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>
This commit is contained in:
Bernd Kuhls 2014-10-06 21:32:09 +02:00 committed by Thomas Petazzoni
parent 04fa0566a3
commit f3026e3850
1 changed files with 7 additions and 0 deletions

View File

@ -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))