[Buildroot] [git commit] package/apr-util: add optional dependency to mysql
Thomas Petazzoni
thomas.petazzoni at free-electrons.com
Sun Oct 26 21:23:01 UTC 2014
commit: http://git.buildroot.net/buildroot/commit/?id=f187c5fd8943d223630c8dc358ccb308e69f2334
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master
Signed-off-by: Bernd Kuhls <bernd.kuhls at t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
---
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 e22efb2..42506bb 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
More information about the buildroot
mailing list