ulogd: forcibly disable mysql when not present
authorGustavo Zacarias <gustavo@zacarias.com.ar>
Wed, 7 May 2014 16:04:48 +0000 (13:04 -0300)
committerPeter Korsgaard <peter@korsgaard.com>
Thu, 8 May 2014 14:52:33 +0000 (16:52 +0200)
Forcibly disable mysql support when we don't want it since ulogd's
configure script can pick up the host mysql_config thus leading to a
build failure.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/ulogd/ulogd.mk

index 28ada96dac270c5a67005709417c585094997d90..91eeaaf78f70a0072c89267184644cad7e1f821d 100644 (file)
@@ -20,6 +20,8 @@ ifeq ($(BR2_TOOLCHAIN_HAS_THREADS),y)
 ifeq ($(BR2_PACKAGE_MYSQL),y)
        ULOGD_CONF_OPT += --with-mysql=$(STAGING_DIR)/usr
        ULOGD_DEPENDENCIES += mysql
+else
+       ULOGD_CONF_OPT += --with-mysql=no
 endif
 ifeq ($(BR2_PACKAGE_SQLITE),y)
        ULOGD_DEPENDENCIES += sqlite