package/postgis: add optional json-c dependency

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>
This commit is contained in:
Peter Seiderer 2021-04-14 22:10:41 +02:00 committed by Arnout Vandecappelle (Essensium/Mind)
parent 782948e499
commit b4e7fd305a

View File

@ -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))