diff options
author | Bernd Kuhls <bernd.kuhls@t-online.de> | 2014-10-06 21:32:09 +0200 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2014-10-26 22:52:41 +0100 |
commit | f3026e3850a2dda48f4cb17559152e3b3cceaaa1 (patch) | |
tree | b4698acfd08d500847cea5fca2920410f87b4b9e | |
parent | 04fa0566a30b8191506b8e36a26dab3f484d10ad (diff) | |
download | buildroot-f3026e3850a2dda48f4cb17559152e3b3cceaaa1.tar.gz buildroot-f3026e3850a2dda48f4cb17559152e3b3cceaaa1.zip |
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.mk | 7 |
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)) |