Commit ccaea6eb authored by Bernd Kuhls's avatar Bernd Kuhls Committed by Thomas Petazzoni
Browse files

package/apr-util: add support for unixodbc

parent c6ae8808
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -53,4 +53,13 @@ else
APR_UTIL_CONF_OPTS += --without-crypto
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))