kumquat-buildroot/package/libodb-mysql/libodb-mysql.mk
Fabrice Fontaine c858f653d0 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 <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2020-07-14 23:49:20 +02:00

18 lines
687 B
Makefile

################################################################################
#
# libodb-mysql
#
################################################################################
LIBODB_MYSQL_VERSION_MAJOR = 2.4
LIBODB_MYSQL_VERSION = $(LIBODB_MYSQL_VERSION_MAJOR).0
LIBODB_MYSQL_SOURCE = libodb-mysql-$(LIBODB_MYSQL_VERSION).tar.bz2
LIBODB_MYSQL_SITE = https://www.codesynthesis.com/download/odb/$(LIBODB_MYSQL_VERSION_MAJOR)
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))