Skip to contentSkip to conversation

mysql: Add optional OpenSSL dependency

Buildroot Peter Korsgaard 1 participant 1 message May 17, 2014

lore
Share & tools
lore
#0 lore raw

commit: http://git.buildroot.net/buildroot/commit/?id=9587eea148df35532c06e25ef0be37af46d0ab36
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master

Make sure OpenSSL is built before mysql.

---
 package/mysql/mysql.mk |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
package/mysql/mysql.mk +4 -0
index d338c31..808abce 100644
@@ -33,6 +33,10 @@ MYSQL_CONF_OPT = \
 	--enable-thread-safe-client \
 	--disable-mysql-maintainer-mode
 
+ifeq ($(BR2_PACKAGE_OPENSSL),y)
+MYSQL_DEPENDENCIES += openssl
+endif
+
 ifeq ($(BR2_PACKAGE_ZLIB),y)
 MYSQL_DEPENDENCIES += zlib
 endif