package/apr-util: add support for unixodbc
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
c6ae88084c
commit
ccaea6eb21
|
@ -53,4 +53,13 @@ else
|
||||||
APR_UTIL_CONF_OPTS += --without-crypto
|
APR_UTIL_CONF_OPTS += --without-crypto
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifeq ($(BR2_PACKAGE_UNIXODBC),y)
|
||||||
|
APR_UTIL_CONF_OPTS += --with-odbc="$(STAGING_DIR)/usr"
|
||||||
|
# avoid using target binary $(STAGING_DIR)/usr/bin/odbc_config
|
||||||
|
APR_UTIL_CONF_ENV += ac_cv_path_ODBC_CONFIG=""
|
||||||
|
APR_UTIL_DEPENDENCIES += unixodbc
|
||||||
|
else
|
||||||
|
APR_UTIL_CONF_OPTS += --without-odbc
|
||||||
|
endif
|
||||||
|
|
||||||
$(eval $(autotools-package))
|
$(eval $(autotools-package))
|
||||||
|
|
Loading…
Reference in a new issue