From 3264bdb37cb4a90568ea4de94e0da88c43bb17c6 Mon Sep 17 00:00:00 2001 From: Maxim Kochetkov Date: Tue, 2 Jan 2024 12:34:26 +0300 Subject: [PATCH] package/postgresql: add ICU support PostgreSQL has optional ICU support. So enable it if library are available. Signed-off-by: Maxim Kochetkov Signed-off-by: Thomas Petazzoni (cherry picked from commit 70935d6585bb211a0eba2effbd51d75c12258602) Signed-off-by: Peter Korsgaard --- package/postgresql/postgresql.mk | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/package/postgresql/postgresql.mk b/package/postgresql/postgresql.mk index 3108fe65e1..89ba80557d 100644 --- a/package/postgresql/postgresql.mk +++ b/package/postgresql/postgresql.mk @@ -87,6 +87,13 @@ else POSTGRESQL_CONF_OPTS += --without-ldap endif +ifeq ($(BR2_PACKAGE_ICU),y) +POSTGRESQL_DEPENDENCIES += icu +POSTGRESQL_CONF_OPTS += --with-icu +else +POSTGRESQL_CONF_OPTS += --without-icu +endif + ifeq ($(BR2_PACKAGE_LIBXML2),y) POSTGRESQL_DEPENDENCIES += libxml2 POSTGRESQL_CONF_OPTS += --with-libxml