From 221b52b3ab8f4f90ebfe25ff52512233fd6fa49e Mon Sep 17 00:00:00 2001 From: Bernd Kuhls Date: Sat, 17 May 2014 12:32:43 +0200 Subject: [PATCH] mysql: Add optional zlib dependency Make sure zlib is built before mysql. Signed-off-by: Bernd Kuhls Signed-off-by: Peter Korsgaard --- package/mysql/mysql.mk | 4 ++++ 1 file changed, 4 insertions(+) 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 = -- 2.30.2