swig: enable pcre2 support (refs #20604)

Now since pcre2 provides a host build, let's use it.
This is required for e.g. gensio package to provide
python bindings.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
This commit is contained in:
Michael Heimpold 2023-03-14 20:54:59 +01:00
parent 55a015a2b4
commit 15af23b011
1 changed files with 2 additions and 1 deletions

View File

@ -20,6 +20,7 @@ PKG_LICENSE_FILES:=LICENSE
PKG_HOST_ONLY:=1
HOST_BUILD_PARALLEL:=1
HOST_BUILD_DEPENDS:=pcre2/host
include $(INCLUDE_DIR)/host-build.mk
include $(INCLUDE_DIR)/package.mk
@ -33,7 +34,7 @@ define Package/swig
endef
HOST_CONFIGURE_ARGS += \
--without-pcre
--with-pcre
define Package/swig/description
tool that generates bindings for various languages