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:
parent
782948e499
commit
b4e7fd305a
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user