From b4e7fd305ae25f205aff19b0318f57b6fdb75cba Mon Sep 17 00:00:00 2001 From: Peter Seiderer Date: Wed, 14 Apr 2021 22:10:41 +0200 Subject: [PATCH] package/postgis: add optional json-c dependency Signed-off-by: Peter Seiderer Reviewed-by: Maxim Kochetkov Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/postgis/postgis.mk | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/package/postgis/postgis.mk b/package/postgis/postgis.mk index 92a9968993..5a2987b182 100644 --- a/package/postgis/postgis.mk +++ b/package/postgis/postgis.mk @@ -28,4 +28,11 @@ else POSTGIS_CONF_OPTS += --without-raster endif +ifeq ($(BR2_PACKAGE_JSON_C),y) +POSTGIS_DEPENDENCIES += json-c +POSTGIS_CONF_OPTS += --with-json +else +POSTGIS_CONF_OPTS += --without-json +endif + $(eval $(autotools-package)) -- 2.30.2