diff options
author | Bernd Kuhls <bernd.kuhls@t-online.de> | 2014-10-05 19:38:53 +0200 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2014-10-26 22:19:27 +0100 |
commit | f64125a3c1b07946e7142550b4fa664b163f5cee (patch) | |
tree | dfa95fd4ec2b82c779055f46e86106ab3aba2dba | |
parent | 86a91e2c5782b240054334375afc85a730310929 (diff) | |
download | buildroot-f64125a3c1b07946e7142550b4fa664b163f5cee.tar.gz buildroot-f64125a3c1b07946e7142550b4fa664b163f5cee.zip |
package/apr-util: add optional dependency to berkeleydb
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 6bc6ee922a..c65b0fb1aa 100644 --- a/package/apr-util/apr-util.mk +++ b/package/apr-util/apr-util.mk @@ -18,6 +18,13 @@ APR_UTIL_CONFIG_SCRIPTS = apu-1-config # features. APR_UTIL_DEPENDENCIES += $(if $(BR2_PACKAGE_LIBICONV),libiconv) +ifeq ($(BR2_PACKAGE_BERKELEYDB),y) +APR_UTIL_CONF_OPTS += --with-dbm=db53 --with-berkeley-db="$(STAGING_DIR)/usr" +APR_UTIL_DEPENDENCIES += berkeleydb +else +APR_UTIL_CONF_OPTS += --without-berkeley-db +endif + ifeq ($(BR2_PACKAGE_SQLITE),y) APR_UTIL_CONF_OPTS += --with-sqlite3="$(STAGING_DIR)/usr" APR_UTIL_DEPENDENCIES += sqlite |