From: Fabrice Fontaine Date: Tue, 14 Jul 2020 21:18:04 +0000 (+0200) Subject: package/libodb-mysql: fix static build X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c858f653d04f97111dc4d3095939b0a14da32056;p=buildroot.git package/libodb-mysql: fix static build Use mysql_config to help libodb-mysql to retrieve mysql dependencies such as -lz Fixes: - http://autobuild.buildroot.org/results/a5447c5105f15606ed562b39ca84c06e7e6b78c0 Signed-off-by: Fabrice Fontaine Signed-off-by: Thomas Petazzoni --- diff --git a/package/libodb-mysql/libodb-mysql.mk b/package/libodb-mysql/libodb-mysql.mk index 97cbcddf93..835e5bc6bf 100644 --- a/package/libodb-mysql/libodb-mysql.mk +++ b/package/libodb-mysql/libodb-mysql.mk @@ -12,5 +12,6 @@ LIBODB_MYSQL_INSTALL_STAGING = YES LIBODB_MYSQL_LICENSE = GPL-2.0 LIBODB_MYSQL_LICENSE_FILES = LICENSE LIBODB_MYSQL_DEPENDENCIES = libodb mysql +LIBODB_MYSQL_CONF_ENV = LIBS="$(shell $(STAGING_DIR)/usr/bin/mysql_config --libs)" $(eval $(autotools-package))