summaryrefslogtreecommitdiff
path: root/package/apr-util
diff options
context:
space:
mode:
authorBernd Kuhls <bernd.kuhls@t-online.de>2015-03-06 17:49:44 +0100
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2015-04-05 16:12:23 +0200
commitccaea6eb217fc3e7f5e364aaeea9a1dfcd558470 (patch)
treebc335cd79c5bfaed1aafa43f42dc647d32c14c5b /package/apr-util
parentc6ae88084cf5c694fd8e294b8b52351faeb2de7f (diff)
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>
Diffstat (limited to 'package/apr-util')
-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 3b0a71beb..bc0572e11 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))