mysql: Add optional zlib dependency
authorBernd Kuhls <bernd.kuhls@t-online.de>
Sat, 17 May 2014 10:32:43 +0000 (12:32 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Sat, 17 May 2014 11:21:03 +0000 (13:21 +0200)
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>
package/mysql/mysql.mk

index 5b30d847581344e23d65ad933951ad7d5eedc5d6..d338c317461e912dcefa3681f109f45af9f174ea 100644 (file)
@@ -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 =