package/swig: depend on host-pcre2 instead of host-pcre

Since the bump of swig to version 4.1.1 in commit
260924e239, host-pcre2 is needed instead
of host-pcre. Since is change that was introduced in swig 4.1.0, as
stated in
https://sourceforge.net/p/swig/news/2022/10/swig-410-released/:

  Update optional SWIG build dependency for regex support from PCRE to PCRE2

Fixes:

   http://autobuild.buildroot.net/results/3a70042aad7376bcccf56d639ced93f504f47963

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
James Hilliard 2022-12-11 13:35:41 -07:00 committed by Thomas Petazzoni
parent 8405dcae33
commit d534bb8d93

View File

@ -7,7 +7,7 @@
SWIG_VERSION_MAJOR = 4.1
SWIG_VERSION = $(SWIG_VERSION_MAJOR).1
SWIG_SITE = http://downloads.sourceforge.net/project/swig/swig/swig-$(SWIG_VERSION)
HOST_SWIG_DEPENDENCIES = host-bison host-pcre
HOST_SWIG_DEPENDENCIES = host-bison host-pcre2
HOST_SWIG_CONF_OPTS = \
--with-pcre \
--disable-ccache \