aboutsummaryrefslogtreecommitdiff
path: root/package/mysql
diff options
context:
space:
mode:
authorGravatar Bernd Kuhls <bernd.kuhls@t-online.de>2014-05-17 12:32:43 +0200
committerGravatar Peter Korsgaard <peter@korsgaard.com>2014-05-17 13:21:03 +0200
commit221b52b3ab8f4f90ebfe25ff52512233fd6fa49e (patch)
treebdfc2e2883d09d6a299f5281f478554800b47949 /package/mysql
parentd5996197e2e28ca8d35776012ee7e08b8301de5c (diff)
downloadbuildroot-221b52b3ab8f4f90ebfe25ff52512233fd6fa49e.tar.gz
buildroot-221b52b3ab8f4f90ebfe25ff52512233fd6fa49e.tar.bz2
mysql: Add optional zlib dependency
Make sure zlib is built before mysql. Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/mysql')
-rw-r--r--package/mysql/mysql.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/package/mysql/mysql.mk b/package/mysql/mysql.mk
index 5b30d84758..d338c31746 100644
--- a/package/mysql/mysql.mk
+++ b/package/mysql/mysql.mk
@@ -33,6 +33,10 @@ MYSQL_CONF_OPT = \
--enable-thread-safe-client \
--disable-mysql-maintainer-mode
+ifeq ($(BR2_PACKAGE_ZLIB),y)
+MYSQL_DEPENDENCIES += zlib
+endif
+
ifeq ($(BR2_PACKAGE_MYSQL_SERVER),y)
MYSQL_DEPENDENCIES += host-mysql host-bison
HOST_MYSQL_DEPENDENCIES =