All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [git commit] package/apr-util: add optional support for postgresql
@ 2018-05-08 13:26 Thomas Petazzoni
  2018-05-28 14:23 ` Peter Korsgaard
  0 siblings, 1 reply; 2+ messages in thread
From: Thomas Petazzoni @ 2018-05-08 13:26 UTC (permalink / raw)
  To: buildroot

commit: https://git.buildroot.net/buildroot/commit/?id=1ec1479fbe520ec468ad7a00bda8311597cff8ea
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

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>
---
 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 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

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [Buildroot] [git commit] package/apr-util: add optional support for postgresql
  2018-05-08 13:26 [Buildroot] [git commit] package/apr-util: add optional support for postgresql Thomas Petazzoni
@ 2018-05-28 14:23 ` Peter Korsgaard
  0 siblings, 0 replies; 2+ messages in thread
From: Peter Korsgaard @ 2018-05-28 14:23 UTC (permalink / raw)
  To: buildroot

>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@bootlin.com> writes:

 > commit: https://git.buildroot.net/buildroot/commit/?id=1ec1479fbe520ec468ad7a00bda8311597cff8ea
 > branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

 > 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>

Committed to 2018.02.x, thanks.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-05-28 14:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-05-08 13:26 [Buildroot] [git commit] package/apr-util: add optional support for postgresql Thomas Petazzoni
2018-05-28 14:23 ` Peter Korsgaard

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.