From 039dfca25290c4cebe1b7d859a03944598f4c104 Mon Sep 17 00:00:00 2001 From: Fabrice Fontaine Date: Sat, 14 Jan 2023 18:25:06 +0100 Subject: [PATCH] package/ulogd: fix mysql build Fix the following mysql build failure raised since bump to version 2.0.8 in commit 6fc4b59ffd3007ca9e436d33647acc5dfff62970: checking for mysql_config... no configure: error: libmysqlclient not found Fixes: - http://autobuild.buildroot.org/results/a059be353b7464d4e6a7830a685b43bdd7ecd5fa Signed-off-by: Fabrice Fontaine Signed-off-by: Thomas Petazzoni --- package/ulogd/ulogd.mk | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/package/ulogd/ulogd.mk b/package/ulogd/ulogd.mk index 7d4a1fde4d..033acb06c2 100644 --- a/package/ulogd/ulogd.mk +++ b/package/ulogd/ulogd.mk @@ -23,7 +23,9 @@ else ULOGD_CONF_OPTS += --disable-dbi endif ifeq ($(BR2_PACKAGE_MYSQL),y) -ULOGD_CONF_OPTS += --enable-mysql +ULOGD_CONF_OPTS += \ + --enable-mysql \ + --with-mysql-config=$(STAGING_DIR)/usr/bin/mysql_config ULOGD_DEPENDENCIES += mysql else ULOGD_CONF_OPTS += --disable-mysql