From: Bernd Kuhls Date: Sun, 5 Oct 2014 17:38:54 +0000 (+0200) Subject: package/apr-util: add optional dependency to gdbm X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d575e2cca663eb59f57efafd98da024259b502c0;p=buildroot.git package/apr-util: add optional dependency to gdbm 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 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