aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Bernd Kuhls <bernd.kuhls@t-online.de>2014-10-05 19:38:54 +0200
committerGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2014-10-26 22:19:35 +0100
commitd575e2cca663eb59f57efafd98da024259b502c0 (patch)
tree6b149657b13719a1b62bb25d3afb91eeb8b541ca
parentf64125a3c1b07946e7142550b4fa664b163f5cee (diff)
downloadbuildroot-d575e2cca663eb59f57efafd98da024259b502c0.tar.gz
buildroot-d575e2cca663eb59f57efafd98da024259b502c0.tar.bz2
package/apr-util: add optional dependency to gdbm
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.mk7
1 files changed, 7 insertions, 0 deletions
diff --git a/package/apr-util/apr-util.mk b/package/apr-util/apr-util.mk
index c65b0fb1aa..e22efb23e2 100644
--- a/package/apr-util/apr-util.mk
+++ b/package/apr-util/apr-util.mk
@@ -25,6 +25,13 @@ else
APR_UTIL_CONF_OPTS += --without-berkeley-db
endif
+ifeq ($(BR2_PACKAGE_GDBM),y)
+APR_UTIL_CONF_OPTS += --with-gdbm="$(STAGING_DIR)/usr"
+APR_UTIL_DEPENDENCIES += gdbm
+else
+APR_UTIL_CONF_OPTS += --without-gdbm
+endif
+
ifeq ($(BR2_PACKAGE_SQLITE),y)
APR_UTIL_CONF_OPTS += --with-sqlite3="$(STAGING_DIR)/usr"
APR_UTIL_DEPENDENCIES += sqlite