aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Bernd Kuhls <bernd.kuhls@t-online.de>2015-03-06 17:49:44 +0100
committerGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2015-04-05 16:12:23 +0200
commitccaea6eb217fc3e7f5e364aaeea9a1dfcd558470 (patch)
treebc335cd79c5bfaed1aafa43f42dc647d32c14c5b
parentc6ae88084cf5c694fd8e294b8b52351faeb2de7f (diff)
downloadbuildroot-ccaea6eb217fc3e7f5e364aaeea9a1dfcd558470.tar.gz
buildroot-ccaea6eb217fc3e7f5e364aaeea9a1dfcd558470.tar.bz2
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>
-rw-r--r--package/apr-util/apr-util.mk9
1 files changed, 9 insertions, 0 deletions
diff --git a/package/apr-util/apr-util.mk b/package/apr-util/apr-util.mk
index 3b0a71beb9..bc0572e110 100644
--- a/package/apr-util/apr-util.mk
+++ b/package/apr-util/apr-util.mk
@@ -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))