aboutsummaryrefslogtreecommitdiff
path: root/package/apr-util
diff options
context:
space:
mode:
Diffstat (limited to 'package/apr-util')
-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 e22efb23e2..42506bb21f 100644
--- a/package/apr-util/apr-util.mk
+++ b/package/apr-util/apr-util.mk
@@ -32,6 +32,13 @@ else
APR_UTIL_CONF_OPTS += --without-gdbm
endif
+ifeq ($(BR2_PACKAGE_MYSQL),y)
+APR_UTIL_CONF_OPTS += --with-mysql="$(STAGING_DIR)/usr"
+APR_UTIL_DEPENDENCIES += mysql
+else
+APR_UTIL_CONF_OPTS += --without-mysql
+endif
+
ifeq ($(BR2_PACKAGE_SQLITE),y)
APR_UTIL_CONF_OPTS += --with-sqlite3="$(STAGING_DIR)/usr"
APR_UTIL_DEPENDENCIES += sqlite