Signed-off-by: Peter Seiderer <ps.report@gmx.net> Reviewed-by: Maxim Kochetkov <fido_max@inbox.ru> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
@@ -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))