29226854e1
Bump to 0bfae6c43134cf58dc89364328545982ca297abb to fix the following build failure with postgresql raised since commitf032973fc5
which removed7a8e24ec1c
checking for MySQL support... no checking for PostgreSQL support... yes checking for pg_config... no Fixes: - http://autobuild.buildroot.org/results/89f58005b3a4d50384803fe6f07ea3049935959c Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Acked-By: Herve Codina <herve.codina@bootlin.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
49 lines
1.6 KiB
Makefile
49 lines
1.6 KiB
Makefile
################################################################################
|
|
#
|
|
# libdbi-drivers
|
|
#
|
|
################################################################################
|
|
|
|
LIBDBI_DRIVERS_VERSION = 0bfae6c43134cf58dc89364328545982ca297abb
|
|
LIBDBI_DRIVERS_SITE = https://git.code.sf.net/p/libdbi-drivers/libdbi-drivers
|
|
LIBDBI_DRIVERS_SITE_METHOD = git
|
|
LIBDBI_DRIVERS_LICENSE = LGPL-2.1+
|
|
LIBDBI_DRIVERS_LICENSE_FILES = COPYING
|
|
LIBDBI_DRIVERS_INSTALL_STAGING = YES
|
|
LIBDBI_DRIVERS_DEPENDENCIES = libdbi host-pkgconf
|
|
LIBDBI_DRIVERS_AUTORECONF = YES
|
|
|
|
LIBDBI_DRIVERS_CONF_OPTS = --with-dbi-libdir=$(STAGING_DIR)/usr/lib
|
|
|
|
ifeq ($(BR2_PACKAGE_MYSQL),y)
|
|
LIBDBI_DRIVERS_DEPENDENCIES += mysql
|
|
LIBDBI_DRIVERS_CONF_OPTS += --with-mysql
|
|
LIBDBI_DRIVERS_CONF_ENV += MYSQL_CONFIG="$(STAGING_DIR)/usr/bin/mysql_config"
|
|
else
|
|
LIBDBI_DRIVERS_CONF_OPTS += --without-mysql
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_POSTGRESQL),y)
|
|
LIBDBI_DRIVERS_DEPENDENCIES += postgresql
|
|
LIBDBI_DRIVERS_CONF_OPTS += --with-pgsql
|
|
else
|
|
LIBDBI_DRIVERS_CONF_OPTS += --without-pgsql
|
|
endif
|
|
|
|
LIBDBI_DRIVERS_CONF_OPTS += --without-sqlite
|
|
ifeq ($(BR2_PACKAGE_SQLITE),y)
|
|
LIBDBI_DRIVERS_DEPENDENCIES += sqlite
|
|
LIBDBI_DRIVERS_CONF_OPTS += --with-sqlite3
|
|
else
|
|
LIBDBI_DRIVERS_CONF_OPTS += --without-sqlite3
|
|
endif
|
|
|
|
LIBDBI_DRIVERS_CONF_OPTS += --without-msql # MiniSQL
|
|
LIBDBI_DRIVERS_CONF_OPTS += --without-oracle # Oracle OCI
|
|
LIBDBI_DRIVERS_CONF_OPTS += --without-firebird # Firebird/Interbase
|
|
LIBDBI_DRIVERS_CONF_OPTS += --without-freetds # Freetds
|
|
LIBDBI_DRIVERS_CONF_OPTS += --without-ingres # Ingres
|
|
LIBDBI_DRIVERS_CONF_OPTS += --without-db2 # IBM DB2
|
|
|
|
$(eval $(autotools-package))
|