From: Peter Seiderer Date: Wed, 14 Apr 2021 20:10:41 +0000 (+0200) Subject: package/postgis: add optional json-c dependency X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b4e7fd305ae25f205aff19b0318f57b6fdb75cba;p=buildroot.git package/postgis: add optional json-c dependency Signed-off-by: Peter Seiderer Reviewed-by: Maxim Kochetkov Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- 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))