From 0fd31f073981a2cf586264bcde00ccd17ef9deb3 Mon Sep 17 00:00:00 2001 From: Julien Olivain Date: Sat, 12 Mar 2022 21:16:26 +0100 Subject: [PATCH] package/poco: add Data/PostgreSQL support PostgreSQL support was introduced in poco v1.10.0, in commit: https://github.com/pocoproject/poco/commit/8cec8f6451b9a0ead80f655eee986040863e3526 Signed-off-by: Julien Olivain Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/poco/Config.in | 6 ++++++ package/poco/poco.mk | 2 ++ 2 files changed, 8 insertions(+) diff --git a/package/poco/Config.in b/package/poco/Config.in index 79ffac741d..714e40f447 100644 --- a/package/poco/Config.in +++ b/package/poco/Config.in @@ -45,6 +45,12 @@ config BR2_PACKAGE_POCO_DATA_MYSQL select BR2_PACKAGE_MYSQL select BR2_PACKAGE_POCO_DATA +config BR2_PACKAGE_POCO_DATA_PGSQL + bool "Data/PostgreSQL" + depends on BR2_USE_MMU # postgresql + select BR2_PACKAGE_POCO_DATA + select BR2_PACKAGE_POSTGRESQL + config BR2_PACKAGE_POCO_DATA_SQLITE bool "Data/SQLite" select BR2_PACKAGE_POCO_DATA diff --git a/package/poco/poco.mk b/package/poco/poco.mk index 81409ffec4..119711f3fd 100644 --- a/package/poco/poco.mk +++ b/package/poco/poco.mk @@ -15,6 +15,7 @@ POCO_DEPENDENCIES = pcre zlib \ $(if $(BR2_PACKAGE_POCO_CRYPTO),openssl) \ $(if $(BR2_PACKAGE_POCO_DATA_MYSQL),mysql) \ $(if $(BR2_PACKAGE_POCO_DATA_SQLITE),sqlite) \ + $(if $(BR2_PACKAGE_POCO_DATA_PGSQL),postgresql) \ $(if $(BR2_PACKAGE_POCO_NETSSL_OPENSSL),openssl) \ $(if $(BR2_PACKAGE_POCO_XML),expat) @@ -24,6 +25,7 @@ POCO_OMIT = Data/ODBC PageCompiler \ $(if $(BR2_PACKAGE_POCO_DATA),,Data) \ $(if $(BR2_PACKAGE_POCO_DATA_MYSQL),,Data/MySQL) \ $(if $(BR2_PACKAGE_POCO_DATA_SQLITE),,Data/SQLite) \ + $(if $(BR2_PACKAGE_POCO_DATA_PGSQL),,Data/PostgreSQL) \ $(if $(BR2_PACKAGE_POCO_JSON),,JSON) \ $(if $(BR2_PACKAGE_POCO_JWT),,JWT) \ $(if $(BR2_PACKAGE_POCO_MONGODB),,MongoDB) \