aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Bernd Kuhls <bernd.kuhls@t-online.de>2018-05-04 20:26:14 +0200
committerGravatar Thomas Petazzoni <thomas.petazzoni@bootlin.com>2018-05-08 15:26:53 +0200
commit1ec1479fbe520ec468ad7a00bda8311597cff8ea (patch)
treedf1029978409f1d009c3a7aacf2bae63c430abe9
parenta568ecef32626ee2ae90ee4b1e339beb6f0df921 (diff)
downloadbuildroot-1ec1479fbe520ec468ad7a00bda8311597cff8ea.tar.gz
buildroot-1ec1479fbe520ec468ad7a00bda8311597cff8ea.tar.bz2
package/apr-util: add optional support for postgresql
apr-util contains optional support for postgresql: $ ls -1 output/target/usr/lib/apr-util-1/apr_dbd_pg* output/target/usr/lib/apr-util-1/apr_dbd_pgsql-1.so output/target/usr/lib/apr-util-1/apr_dbd_pgsql.la output/target/usr/lib/apr-util-1/apr_dbd_pgsql.so Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
-rw-r--r--package/apr-util/apr-util.mk7
1 files changed, 7 insertions, 0 deletions
diff --git a/package/apr-util/apr-util.mk b/package/apr-util/apr-util.mk
index c44cef009f..22f1913865 100644
--- a/package/apr-util/apr-util.mk
+++ b/package/apr-util/apr-util.mk
@@ -54,6 +54,13 @@ else
APR_UTIL_CONF_OPTS += --without-crypto
endif
+ifeq ($(BR2_PACKAGE_POSTGRESQL),y)
+APR_UTIL_CONF_OPTS += --with-pgsql="$(STAGING_DIR)/usr"
+APR_UTIL_DEPENDENCIES += postgresql
+else
+APR_UTIL_CONF_OPTS += --without-pgsql
+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