From: Michael Heimpold Date: Tue, 14 Mar 2023 19:54:59 +0000 (+0100) Subject: swig: enable pcre2 support (refs #20604) X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=15af23b011ad4248c3bb476dbbd196fce7091075;p=openwrt-packages.git 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 --- diff --git a/utils/swig/Makefile b/utils/swig/Makefile index 03378e196..ecd128f52 100644 --- a/utils/swig/Makefile +++ b/utils/swig/Makefile @@ -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