[Buildroot] [git commit] package/postgis: add optional json-c dependency
Arnout Vandecappelle (Essensium/Mind)
arnout at mind.be
Thu Apr 15 19:03:48 UTC 2021
commit: https://git.buildroot.net/buildroot/commit/?id=b4e7fd305ae25f205aff19b0318f57b6fdb75cba
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master
Signed-off-by: Peter Seiderer <ps.report at gmx.net>
Reviewed-by: Maxim Kochetkov <fido_max at inbox.ru>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout at mind.be>
---
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))
More information about the buildroot
mailing list