package/postgis: add optional pcre dependency
authorPeter Seiderer <ps.report@gmx.net>
Wed, 14 Apr 2021 20:10:42 +0000 (22:10 +0200)
committerArnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Thu, 15 Apr 2021 19:04:02 +0000 (21:04 +0200)
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>
package/postgis/postgis.mk

index 5a2987b182cf30ff252298650cb11c613afbe8d3..c6c1b8ff509caf0c9466a149a330d1f43dc94ce4 100644 (file)
@@ -35,4 +35,8 @@ else
 POSTGIS_CONF_OPTS += --without-json
 endif
 
+ifeq ($(BR2_PACKAGE_PCRE),y)
+POSTGIS_DEPENDENCIES += pcre
+endif
+
 $(eval $(autotools-package))