[Buildroot] [PATCH next v2 4/4] package/apr-util: add support for unixodbc

Bernd Kuhls bernd.kuhls at t-online.de
Sun Mar 1 10:07:41 UTC 2015


Signed-off-by: Bernd Kuhls <bernd.kuhls at t-online.de>
---
v2: first inclusion in patch series, unix odbc detection works without
    odbc_config

 package/apr-util/apr-util.mk |    7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/package/apr-util/apr-util.mk b/package/apr-util/apr-util.mk
index 3b0a71b..07ac573 100644
--- a/package/apr-util/apr-util.mk
+++ b/package/apr-util/apr-util.mk
@@ -53,4 +53,11 @@ else
 APR_UTIL_CONF_OPTS += --without-crypto
 endif
 
+ifeq ($(BR2_PACKAGE_UNIXODBC),y)
+APR_UTIL_CONF_OPTS += --with-odbc="$(STAGING_DIR)/usr"
+APR_UTIL_DEPENDENCIES += unixodbc
+else
+APR_UTIL_CONF_OPTS += --without-odbc
+endif
+
 $(eval $(autotools-package))
-- 
1.7.10.4



More information about the buildroot mailing list